Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Trapping the Enter Key


Message #1 by "Neal Lebar" <nlebar@i...> on Tue, 17 Apr 2001 20:58:20
In a input type=image form I'm using an onClick event to trap single and 
double quotes.  The JavaScript works just fine...when the users selects 
the image button.  However, when the user presses the enter key, it 
bypasses the validation.  How do I trap the enter key?

Thanks,

Neal

  Return to Index