storing a keypress

Results 1 to 3 of 3

Thread: storing a keypress

  1. #1
    Join Date
    Dec 1969

    Default storing a keypress

    how can i make the event handlers ONKEYDOWN, ONKEYPRESS, and ONKEYUP return which key was pressed?<BR>I know there javascript commands for special keys like event.ctrl or event.alt, but what if i want to know if the user pressed &#039;a&#039;?<BR>returning the charNum/ASCII equivalent would be fine<BR>thanks gurus....

  2. #2
    Rob Guest

    Default RE: storing a keypress

    Try this URL....<BR><BR><BR><BR>just right-click and you can see the function that is used.

  3. #3
    Join Date
    Dec 1969

    Default thanks!


Posting Permissions

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