-4

How can i call 2 functions with onclick?

<input id = "test" onclick="func1()">

So how would I added another function into it

0

1 Answer 1

2

Adding a semi-colon will declare the end of a statement allowing you to call another one.

<input id = "test" onclick="func1();func2();">
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.