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: <a href="#" id="username" data-type="text" data-pk="1" data-name="username" data-original-title="Enter username" class="editable">superuser123</a> Js: $('#username').editable({ url: 'post.php', type: 'text', pk: 1, name: 'username', title: 'Enter username' }); And this is working ( post.php is executed). But now I want