For explanation purpose I have a textbox in my page. I have included the below jquery library in the head section.
Complete html code is given below.
If you run this program in different browser you will get the keycode for different browser.
Do you like this article. Help us to improve.Post your comments below.