Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // html use : <form onkeydown="return event.key != 'Enter';">
- $(document).on("keydown", "form", function(event) {
- return event.key != "Enter";
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement