help me please!

Results 1 to 2 of 2

Thread: help me please!

  1. #1
    JSDev Guest

    Default help me please!

    ok i have a form with two input panels, and when the user presses the submit button it posts to a page the name & password. my question is how do i allow them to press enter and it submit the name & pass w/o pressing the button? how can i access this in javascript? whats the keycode for the enter button? someone plz help!<BR>

  2. #2
    Selvi Guest

    Default RE: help me please!

    &nbsp;<BR>function check()<BR>{<BR> if(window.event.keyCode == 13)<BR> document.form.submit();<BR>}<BR>---------<BR>&#060;input type="text" name="login" onkeydown="check()"&#062;<BR><BR><BR>Good Luck!!<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts