jeditable only submit if changed
jeditable only submit if changed
How would I compare the current cell value to the edited one and only submit it if it's changed? I'm using jeditable with "onblur" = "submit" and I want to prevent it from submitting if the value wasn't changed.
Thanks in advance!
Thanks in advance!
This discussion has been closed.
Replies
[code]
"onsubmit": function (settings, original) {
if (original.revert == $('input',this).val()) {
original.reset();
return false;
}
}
[/code]