Submitting Data Via Ajax In X-editable
I am trying to submit data via Ajax using X-Editable and having trouble with running the php script defined in url parameter. Actually, I got basic example from working: Html: <
Solution 1:
I have solved it by doing the following:
$('#' + button).editable({
url: 'post.php',
type: 'text',
name: button,
title: 'Edit category',
ajaxOptions: {
type: 'post'
},
// success: function(data) {
// alert(data);
// },
});
Post a Comment for "Submitting Data Via Ajax In X-editable"