Keep jeditable when focus is lost?
1 answer
You can do this by setting a parameter onblur
, for example:
$('.editable').editable('myPage.php', {
onblur: 'submit'
});
Inside jEditable, this happens:
} else if ('submit' == settings.onblur) {
input.blur(function(e) {
t = setTimeout(function() { form.submit(); }, 200);
});
}
The onblur
tabs are at the bottom of the jEditable message , just look for "onblur" on the page.
+10
a source to share