+ 5

Can i have two or more actions in the same form?

25th Apr 2017, 6:11 AM
arpithagowda
arpithagowda - avatar
2 Answers
+ 3
two of the same type? no. but you may combine different actions like onsubmit and onmouseover. if you want to trigger more than one action of the same type, say two actions for resubmit, you'll have to call two functions after another. onsubmit=“action_one(); action_two();“ maybe it's better to call those with another function for better readability.
25th Apr 2017, 8:41 AM
Mario L.
Mario L. - avatar
0
no
10th Sep 2017, 8:43 AM
Ayush
Ayush - avatar