If you use X-Editable, you can set some default options, for example
$.fn.editable.defaults.ajaxOptions = {type: "put"}
or
$.fn.editable.defaults.mode = 'inline';
Is there a convenient way to set an editable function for all my applications - to onblurbe 'submit', not 'cancel'?
source
share