Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: preventing user down arrow on select box


Message #1 by melody.siska@5... on Wed, 28 Jun 2000 15:46:45
Hi,
Does anyone know how to prevent a user from using the down arrow key in a 
selection box? The problem I am having is that I have multiple selection 
boxes that are dynamically filled based on the previous selection box. I do 
this through an onChange function. If the user selections option 1 then the 
2nd box fills accordingly. The problem is that if he uses the down error, 
the 2nd box cannot fill fast enough. The error i receive is:
"Can't perform operation with an async operation pending" 
I would like to find a way to capture the down arrow key and then do 
nothing if the user presses it.
Thanks in advance!

  Return to Index