Passing Query string from jquery datatable to server on row delete -



Passing Query string from jquery datatable to server on row delete -

i using jquery editable datatable.when ever table row deleted,i want row info , build query string , pass server url.now can row info how pass query string server in ajax request ??

this jquery code using.

$(document).ready( function () { otable=$('#example').datatable({ "bprocessing": true, "sajaxsource": "http://localhost/questions/test/listener", "fninitcomplete": function (){ $(otable.fngetnodes()).click(function (){ var apos = otable.fngetposition( ); var adata = otable.fngetdata( apos[0] ); alert(adata[0]); }); }, aocolumns: [ { "bvisible": false} , null, null, null, null ] } ).makeeditable({ supdateurl: "updatedata.php", saddurl: "adddata.php", saddhttpmethod: "get", sdeleteurl: "http://localhost/questions/test/deletedata", sdeletehttpmethod: "get", }); } );

jquery query-string row datatables

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -