Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript BLOCK ENTER

$('form').bind("keypress", function(e) {
  if (e.keyCode == 13) {               
    e.preventDefault();
    return false;
  }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #BLOCK #ENTER
ADD COMMENT
Topic
Name
4+5 =