faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

21 of 32 people (66%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I skip a hidden field with enter key tab to the next input field

May 13th, 2002 04:05
Neil Hardie, James Griffin,


<input type="hidden" tabindex="-1">
Setting tabindex to -1 removes this field from the tabbing order.  You 
can also specify the tabbing order for fields with tabindex="1", 
tabindex="2" etc.
Doesn't work in all browsers, but is good for IE 4+.
(p.s. - this is HTML, nothing to do with JavaScript!)