Please suggest me proper jquery selector for this. how to optimise this?Please suggest
$("#name").keyup(function (event) {
if (event.keyCode == 13) {
$("#Search").click();
}
});
$("#userName").keyup(function (event) {
if (event.keyCode == 13) {
$("#Search").click();
}
});