Can you add two values in an onclick event. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you add two values in an onclick event.

Pls I have been working on a project and I'm stuck here. Can someone help me with this.

28th Aug 2020, 9:23 AM
Coder🐱
Coder🐱 - avatar
4 Answers
+ 1
You can add as many on click js functions as you wish. Just separate them
28th Aug 2020, 11:28 AM
Shadoff
Shadoff - avatar
0
🛡️Dream Killer🗡️ Thanks, But can you explain more, it's a different situation. I want to do this to a button tag.
28th Aug 2020, 9:34 AM
Coder🐱
Coder🐱 - avatar
28th Aug 2020, 12:30 PM
Coder🐱
Coder🐱 - avatar