"Don Armstrong" <[EMAIL PROTECTED]> wrote:
>
>I am looking for a simple way to monitor the user's keystrokes in a password
>field. If they press enter (ASCII 13), I would like to submit the form. This is
>how I implemented the feature using JavaScript, but it does not work in a
>NetDynamics 4.0 page.
>
><script language="JavaScript">
>function EnterKey(evt)
> {                                    
> var theKey; 
>       theKey = evt.which;                              
> if (theKey == 13)
>   {                                             
>     document.Logon.submit();                                   
>   }                                                            
>}
></SCRIPT>
>
><INPUT TYPE="password" NAME="password"  onKeyPress="EnterKey(event);" 
>value="" MAXLENGTH=10 SIZE=10>
>
>I use -
onkeydown="getKey(event)"  This is on a the 
IE browser.  

_________________________________________________________________________
To unsubscribe from this mailing list please send an email to:
[EMAIL PROTECTED]
Please remember to use the same email address you subscribed with.

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to