I want html regular button is triggered with an enter key. That means, when the user
press ENTER key, it will trigger the event in html regular button. I tried
the following code, and I realized submit button is triggered with an
enter key. But not html regular button. Any workarounds? Please advise. Thanks!!
<INPUT TYPE="button" value="regular button" onClick="alert('button');">
<INPUT TYPE="submit" value="submit button" onClick="alert('submit');">