Tab key with JEditable fields
问题 I have a page using JQuery and Jeditable to create editable text elements on the page. While editing an element, I would like to be able to tab from one element to the next. I am unsure of how to: Use jeditable or jquery to capture the tab key event (keycode = 9) Once that event is detected, move focus to the next element and activate it via jeditable Any help appreciated. Thanks! 回答1: I managed to find a way to do it: $('div.editbox').bind('keydown', function(evt) { if(evt.keyCode==9) { $