Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to capture 'tab' event in netscape 6...... 1

Status
Not open for further replies.

Unsubscribed

Programmer
Jun 8, 1999
11
CA
I have a form in netscape with a series of textareas... the problem is that once you have tabbed into a text area, any further hitting of the tab key just moves the cursor within the textarea, rather than moving focus to the next textarea. I am trying to find out what the keycode for 'tab' is so I can use the onkeypress event to do this manually? Does anyone know what that keycode is, or even if netscape 6 recognizes the tab key as an event? (looks like earlier versions don't) If not, any other suggestions?
Thanks.
 
you must use this sample :

event.which == 9

9 is the ascii code of the tab key

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top