How to implement call back function using editable plugin in Jquery -


i using editable plugin edit of rows , update data database.after updating data database , have success message using call function. please suggest prefect solution call other function using plugin.

$(function () {         var url = $baseurl + "/abc/abc/itemslist";         $('.txt-editable').editable(url,callbackfunction, {             onblur: function (value) {                 this.reset(value);                 $(this).html(value);                 return (value);              },             width: 90,             id: 'element_id',             value: 'value'         });     });   function callbackfunction(){    alert("success message"); }); 

$('#id').editable({          type:'text',          url: 'test/edit/1',          source: source,          success:function(response, newvalue)          {  	callfunction();  	var data = json.parse(response);          },  	send: 'always',  	validate: function(value)   	{  	}   });


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -