I have two buttons in my page.First one
<input id="btnSearch" type="button" onclick="searchClick();" value="" tabindex="2">
Second one
<input name="btnSignUp" id="btnSignUp" class="button03" type="submit" value="Bekræft">
As you can see both buttons are of type submit
. When I press enter key always second one get clicked.I want to change it, I want the first button to be clicked always.
Is there any way to achieve this, with out changing the attribute type of both buttons.