In have save image button and it has click event in my web application. it can not fire that click event when i pressed enter key? it will fire mouse click on the image button.
Ple give me Solution,it will work thrw java script?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Aug 8, 2013, 7:02 AM
Regards,
Iftikar
Kumar SPosted Aug 8, 2013, 6:56 AM
this is my screen. when i enter key pressed on the clear button it wont fire click event.
Posted Aug 8, 2013, 1:21 AM
{
// call your form submit event.
document.getElementById("YOUR FORM ID").submit();
}
else
return key;
in aspx your code
Iftikar HussainPosted Aug 8, 2013, 1:16 AM
Try like this
in your javascript
in your code
Regards,
Iftikar
Sunny SharmaPosted Aug 8, 2013, 1:08 AM
Share your code, I'll help you with that.
Posted Aug 8, 2013, 12:46 AM