My code is:
$(document).ready(function() {
$('.post_title').editable('editposttitle.php', {
cancel : 'Cancel',
submit : 'OK',
indicator : 'Saving...',
});
});
When saving text the text'Click to edit' is inserted into my element? instead of the saved text?
Any ideas?
Thanks!
Sorry, found where I was going wrong!
I didn't echo the new value in my php.
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