wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes How to check the LAST TAB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to check the LAST TAB?" Watch "How to check the LAST TAB?" New topic
Author

How to check the LAST TAB?

Giulietta Blumarine
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
Hi!
I have several input text and every input text has its tabindex property!
When I open the page, if I push the tab, cursor sets itself on the first input text having the property tabindex=1.
It's correct.
The the cursor moves itself on the other field.
BUT when I reach the last tab the cursor moves itself up to the document and not on the first tab with tabindex=1.
It's correct because tab works in this way but then:
HOW can I obtain the cursor setted on the first tab???

Thanks a lot

Giu
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Not understanding your last sentence..aka the real question?

You want to force it to go to the first element?

Eric
Giulietta Blumarine
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
Sorry for late.
Yes, the first element, which has tabindex=1!

Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to check the LAST TAB?
 
Similar Threads
RSH and browser back button
what is the contrary event of "onFocus" ?
What is tabindex?
Spooky tabindex problem...
Tab event on IE8 and Firefox