For an HTML element, how do I specify the "selected" button for onclick to happen when users press the enter key?
I have a page with one button, and this button does not appear when the page is displayed. I want the user to be able to press the Enter button without pressing the button.
<button href="#" onclick="create_linkcard();" class="page_button"> <img src="Add.png" />Add</button>
html
user823527 Nov 26 '11 at 20:29 2011-11-26 20:29
source share