Answers for "how to put more than one javascript function in an html tag"

0

how to put more than one javascript function in an html tag

Use a semi-colon to separate your functions inside the tag.
Example:

<button onclick="functionOne();functionTwo();">Click Me!</button>

You can also separate them using a comma(,)
Posted by: Guest on August-05-2021

Code answers related to "how to put more than one javascript function in an html tag"

Browse Popular Code Answers by Language