Tabindex

liunx

Guest
How do I take an item (it could be a checkbox, button, whatever) out of the tabbing sequence. <br />
<br />
Something like: <br />
<br />
<input type "button1" name "test1" value "test1" tabindex "1"> <br />
<input type "button2" name "test2" value "test2"> <br />
<input type "button3" name "test3" value "test3" tabindex "2"> <br />
<br />
In the above example, I don't want the user to be able to tab onto button2 at any time. How do I do this? Any ideas?<!--content-->you can't remove it from the tabindex, because it will appear at some time. What you can do is send the user to another form field onfocus...... but then they would NEVER be able to select the item.<!--content-->You can remove an object from the tabbing order by specifying -1 as the tabindex:<br />
<input type="button1" name="test1" value="test1" tabindex="1"> <br />
<input type "button2" name "test2" value "test2" tabindex="-1"> <br />
<input type="button3" name="test3" value="test3" tabindex="2"><!--content-->Great. Thanks a lot. It worked like a charm!<!--content-->hmmmn, I stand very corrected.<!--content-->
 
Back
Top