C
csgraham74
Hi there,
I have just written an applcation in asp.net. In testing i have found
that the enter key press on a button does not fire a javascript confirm
prompt. is there anyway i can get this to fire the event when the
button is selected and enter is pressed.
basically i want code to check if enter key is pressed or button is
clicked then display a message:
i have the following code for the click event:-
btn_AccountSearch.Attributes.Add("onclick", _
"return confirm('Yess or No ?');")
hope this makes sense
thanks in advance
I have just written an applcation in asp.net. In testing i have found
that the enter key press on a button does not fire a javascript confirm
prompt. is there anyway i can get this to fire the event when the
button is selected and enter is pressed.
basically i want code to check if enter key is pressed or button is
clicked then display a message:
i have the following code for the click event:-
btn_AccountSearch.Attributes.Add("onclick", _
"return confirm('Yess or No ?');")
hope this makes sense
thanks in advance