[jQuery] jeditable - Tabbing between jeditable elements

[jQuery] jeditable - Tabbing between jeditable elements


I am using the jeditable plugin with autocomplete and its working
perfectly. (Thanks Mike!)
I would also like to have the ability to "tab" from one jeditable
element to another jeditable element. It is possible to tab between
text inputs in forms and I would like to have this analogous behavior
with jeditable elements.
My approach is as follows:
1. In the element callback of the declaration of a jeditable custom
input: add a keyPress handler to recognize the tab (keyCode == 9)
keypress. Add tab_target variable to the "settings" hashtable, which
is the id of the jeditable element that we will tab over to.
2. The assigned "jeditable" event can be triggered on the "tab_target"
element in the callback function on the jeditable element, provided
the target is known.
At present, a tab keyPress results in discarding the edits. I have not
been able to get the callback to fire to submit the edit then change
focus to the target element if I tab out of the element. I would like
the tab key to result in the submit event which would trigger the
callback function. Is there anything I could do short of modifying the
plugin?
TIA for any help.
-jl