+ 6
Who ever used a form with multi ending point (two submit)🤔How ?? ..while forms can't be nested✔
Html form related question
1 Odpowiedź
0
For javascript to process multiple submit buttons, you cannot use onsubmit event any more.
Change input[type:"submit"] to button tag, and attach a custom click handler to all submit buttons, to check which button is submitted.