...

View Full Version : Pressing a Key using Javascript



Lilupa
09-23-2005, 09:05 AM
Is there any way to perform a KeyPress using Javascript. My web application wrote by asp.net(vb.net), and I want to move cursor to next component when press enter key. So I decide to pass Tab key, then cursor will move next component according to TabIndex. Pls give me a solution.

Lilupa
Thanks.

TNO
09-23-2005, 09:29 AM
The jscript + WSH offers methods of sending keyboard commands but this is hardly necessary.
Here are a few examples that may help:

http://javascript.internet.com/forms/field-focus.html
http://javascript.internet.com/forms/auto-tab.html
http://javascript.internet.com/forms/enter-key-focus.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum