View Full Version : help: full featured Keyboard

02-03-2005, 09:27 AM
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!

Willy Duitt
02-06-2005, 06:29 PM
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()