+ 6

Who ever used a form with multi ending point (two submit)🤔How ?? ..while forms can't be nested✔

Html form related question

12th Jun 2019, 8:16 AM
imsamaritan
imsamaritan - avatar
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.
12th Jun 2019, 9:02 AM
Calviղ
Calviղ - avatar