$(document).ready(function() {
// Block ENTER key in textbox
$('#txtSearch').keypress(function(event) {
if
((event.keyCode || event.which) == 13) {
event.preventDefault();
return
false;
}
});
})
No comments:
Post a Comment