$(document).on("keypress","#txtParam",function (e) {
// Keypress event of the textbox
var key = e.which;
if(key == 13) // the enter key code
{
$("input[id ='btnSearch']").click(); // simulates the function of "btnSearch" button on ENTER.
return false;
}
});
// Keypress event of the textbox
var key = e.which;
if(key == 13) // the enter key code
{
$("input[id ='btnSearch']").click(); // simulates the function of "btnSearch" button on ENTER.
return false;
}
});