I would just like to learn the keystroke of the Enter key in the <input> field or instead replace the keystrokes. I have not decided which is better.
How to do it in jQuery? I still have this:
$(document).ready(function(){ ...
(This part of e.keyCode || e.which been recommended in this matter .)
What can I do there to (a) cancel the event, or (b) make the Tab key press?
jquery submit html-form keypress
Zack peterson
source share