I would use a more explicit direction for the second element: <input type="text" name="i1"> <input type="text" name="i2" onfocus="s1.focus()"> <select name="s1">
-----Original Message----- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 7:07 PM To: CF-Talk Subject: RE: OT: Using JS to skip a Tab index? Problem with this is that the field will eventually get focus when tabbing. We can't allow focus to the element at all when tabbing. Ksuh's suggestion to try a -1 for the tabindex might do the trick. I'll try it out. Shawn Grover -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 4:48 PM To: CF-Talk Subject: Re: OT: Using JS to skip a Tab index? I believe the tabindex attribute is HTML standard for most form elements, so rather than a complicated javascript, you should be able to simply tell the form which elements are at what points in the tab order, i.e. <input type="text" name="..." tabindex="1"> <input type="text" name="..."> <select name="..." tabindex="2"> hope this helps Isaac www.turnkey.to 954-776-0046 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

