Created
July 25, 2016 11:01
-
-
Save bepatrickdavid/7cdb75833bca0e7b162b4598b153ccde to your computer and use it in GitHub Desktop.
jQuery: disable enter button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$("#findstore").bind("keydown", function(e) { | |
if (e.keyCode == 13) { | |
return false; | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment