+ 3

Can somebody help me plese !How to put two functions in the same onclick ?

In my program i have to put more than just one function in the same onclick .

15th Nov 2020, 5:14 PM
Riselda Rada
Riselda Rada - avatar
2 Réponses
+ 2
Wrap these two functions into one and use it as an onclick attribute. Example: function f1(){ // do smth } function f2(){ // do smth } function f3(){ f1(); f2(); }
15th Nov 2020, 5:49 PM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 4
Okay i am trying Thank you 🤗
15th Nov 2020, 5:53 PM
Riselda Rada
Riselda Rada - avatar