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
Who is Participating?
Faheem ShaikhConnect With a Mentor Commented:
Use the link below to get the event when the user clicks the tab key.
Then call your button click code here.
another article (has example of tab key also)
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.