data table plugin

data table plugin

HI , I am  using data table plugin to show data , and i want to add , delete and update records from database.
Add and Delete Function are working correctly but failed to modify or edit data , can any one help me to resolve this problem . I am using jquery and ajax to add , delete and update.

function update()
 {
var hidden = $('#hidden').val();
alert(hidden);
  if (hidden)
 {
        $.ajax({ 
             type: "get",
             success: function(data)
{
  url: "edit_event.php?values="+name,  
                    $("#data-table").html(data); 
              }
         });
        }
    
 } 



any help will be highly appreciated .