how bind click(from button1's click event) event in textbox when pressed enter key
$('#idoftextbox').keypress(function (e) { var code = e.keycode || e.which; if (code === 13) { //enter has been pressed }; });
how bind click(from button1's click event) event in textbox when pressed enter key
$('#idoftextbox').keypress(function (e) { var code = e.keycode || e.which; if (code === 13) { //enter has been pressed }; });
Comments
Post a Comment