use this steps:
Html or aspx or View
create textbox and button in the page and assign id,
Then,
JQUERY
$("#textboxID").keyup(function (event) {
if (event.keyCode == 13) {
$("#buttonID").click();
}
});
Html or aspx or View
create textbox and button in the page and assign id,
Then,
JQUERY
$("#textboxID").keyup(function (event) {
if (event.keyCode == 13) {
$("#buttonID").click();
}
});
No comments:
Post a Comment