How can I use jQuery to reassign the tab-order from horizontal to vertical in a table?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How can I use jQuery to set up the tabbing order of a table with input elements so that the tab-order will be vertical (down each of the columns) instead of the default horizontal method? The numbers below represent the tabbing order I would like. I'd the jQuery code to work independently of the number of rows and columns in the table. Example Table (rendered as an image unfortunately) Picture 1.png http://img263.imageshack.us/img263/9125/picture1pjf.png Example table HTML Code: <table> <tr> <td><input type="text" /></td> <!-- 1 --> <td>