Not Function Delete Button : CodeIgniter 3 with MySQL and AJAX

I’m learning create application using CodeIgniter 3 that is combine with AJAX. I’ve create a list view of data with some buttons inside (Edit & Delete), but it seems that the code not function well in CodeIgniter 3 with AJAX. Please, can someone help me to fix my code, so it’s can work. Because I’m really new in CodeIgniter. Thank you

This is View :
`<?php
echo(“

?>`