| | |
Tab control on hidden input fields
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2003
Posts: 3
Reputation:
Solved Threads: 0
When I have a hidden input field on my webpage and I use the tab key to traverse my fields, the cursor always moves to the hidden input field. This means that I have to press tab twice to move to the next visible field. Is there any way that I can skip the hidden input field when I am using the tab key?
Thanks, B.
Thanks, B.
Sure, just add the "tabindex" parameter to every form field you want the tab key to traverse. For example.
Each form field should increment the tabindex (0, 1, 2, ...) in the order you want the tab key to proceed. For elements you don't want the tab key to stop at, set the tabindex to -1.
HTML and CSS Syntax (Toggle Plain Text)
<input type="text" tabindex="0">
Each form field should increment the tabindex (0, 1, 2, ...) in the order you want the tab key to proceed. For elements you don't want the tab key to stop at, set the tabindex to -1.
![]() |
Similar Threads
- Passing javascript slider value to hidden input (PHP)
- JSP input fields and tabpage (Java)
- How do I show Tab control on my form in Win XP style Look? (VB.NET)
- How to code "tab control' in the web form in ASP.NET / VB.NET ? (ASP.NET)
- MS Excel data to ASP form (ASP)
- Problem: Programming Tab Control (Visual Basic 4 / 5 / 6)
- tab control (tabPage) (C#)
Other Threads in the HTML and CSS Forum
- Previous Thread: Some Basic Code Hopefully (Help Needed)
- Next Thread: maths for 3d?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7







