function CheckKey() { var bt = document.getElementById(buttonid); // checks whether the ENTER key is pressed if (window.event.keyCode == 13) { // act as though the search button was pressed bt .click(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)