javascript - Having jeditable save when focus is lost? -


How can I tweak to save text when I lose focus from text (text)? If you do not supply the Submit / Cancel buttons, the content is saved when pressed 'Enter' ... but I did not notice how to save the focused content.

You can set this to the onblur option, such as:

  $ ('.able'). Editable ('myPage.php', {onblur: 'submit'});  

The same happens:

 } else if ('submit' == settings.onblur) {input.blur (function (e) { T} = settimeout (function () {form.submit ();}, 200);}); }  

onblur are detils for the option, just search "onblur" in the page.


Comments