I embedded the x-editable:
in the html:
<a class='doc_title editable' id='doc_title_12345' data-name="doc[title]" data-title="Enter doc title" data-type="text" data-url='/docs/12345' href='#doc_title_12345'>My Document<a>
in the js:
// turn to inline mode
$.fn.editable.defaults.mode = 'inline';
// turn on editable on title
$('.doc_title.editable').editable();
I can edit in browser, but when I click on save
nothing happens (I mean I see the new value, but it does not send via AJAX request to the server)
What could be wrong?
As here mentioned it is required to add the always
parameter:
$('.username').editable({
send: 'always'
});
I didn't find it in the documentation (in the Getting started
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With