+ 1

if we write 2 or more functions in the javascript how can we call all the funtions at the same time?

18th Jun 2016, 2:25 AM
an na
an na - avatar
3 Answers
onClick="doSomething();doSomethingElse();" you can do like this
18th Jun 2016, 4:13 AM
Mayur Shedage
Mayur Shedage - avatar
you can call on function from onclick and call other functions from this function
18th Jun 2016, 4:14 AM
sourabh shrivastava
sourabh shrivastava - avatar
or you can make a new function that calls all the other functions and call the new function.
18th Jun 2016, 4:49 PM