Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help: full featured Keyboard

    I wish to build a full featured onscreen keyboard (like the one included with Windows XP) in Javascript for accessibility reasons. The keyboard should be able to generate special keystrokes like Tab, Enter etc as if they come from a real keyboard. This will help in navigating the site using mouse as if it were navigated with a regular keyboard.

    What Javascript function or statement would generate an actual keyboard keystroke esp Tab and Enter keys ?

    Thanx in advance!

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Tab would be: \t
    While if you want Enter to add a new line: \n
    But if you want enter to submit you would use: this.form.submit()

    .....Willy


  •  

    Posting Permissions

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