hello friends
Today i am facing a problem given below.
in asp.net page , we take two button and one textbox on a asp.net page.
we want to manage enter key press on textbox , but when we press enter key on textbox
then automatically another button click event is call and textbox key up event is not call .
so please help this.
example :
when we press enter on textbox then call button click event but we want to call below code
$('#<%=txtProjectName.ClientID%>').keyup(function (e) {
debugger
if(e.keyCode == 13)
{
$('#<%=btnSerach.ClientID%>').click();
}
});
praveen kumarPosted Oct 25, 2016, 5:30 AM
amit shuklaPosted Oct 25, 2016, 5:17 AM
praveen kumarPosted Oct 25, 2016, 3:57 AM