Call Button onClick event

How can I call the btnSubmit's OnClick event onKeydown of a TAB button in the keyboard.

I have a textbox and a button in my ASPX page. When a user after filling the text in the textbox hits TAB key on the keyboard it should call the btnSubmit's onClick event.

Please help
rowmarkAsked:
Who is Participating?
 
Faheem ShaikhConnect With a Mentor Commented:
Use the link below to get the event when the user clicks the tab key.
http://bytes.com/groups/net-vb/378847-how-detect-tab-key-pressed
Then call your button click code here.
0
 
maXXXeECommented:
another article (has example of tab key also)

http://www.eggheadcafe.com/community/aspnet/7/10052524/check-this.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.