-3

I have 2 submit button in 1 form. I want to chose second button on enter. On enter Browser default is chose first button. How to codeing chose second button on enter ?

<form name"form1">
<input type="submit" name="button1" id="button1" value="Submit">
<input type="submit" name="button2" id="button2" value="Submit">
</form>
TheDude
  • 3,591
  • 2
  • 26
  • 47

1 Answers1

0
<button type="button" name="submit">Submit</button>
<input type="submit" name="pasok"> 

maybe that's what BPS is saying to you

Teemu
  • 21,017
  • 6
  • 49
  • 91