I have a search box at the top of page that makes an ajax call when a user hits the adjacent button. I am trying to update the input tag so that when a user hit the \'en
You are missing # in the selector. Try this
#
JS
$("#searchText").bind('keyup', function(event){ if(event.keyCode == 13){ event.preventDefault(); //$("#buttonSrch").click(); search(this.value); } });