...Technology Simplified

Monday, March 12, 2012

Enter key considered as Button click in Classic asp

No comments :
Code to allow enter key to submit the page or to consider enter key as button click in Classic ASP
<input name="username"
onkeypress="if(event.keyCode == 13) this.form.btnSubmit.click()"/>

No comments :

Post a Comment