I want to pass more than one functions on document ready.
Doing something like
$(document).ready(myFunction; anotherFunction;);
did not work.
If I add parentheses, it will actually execute the function.
It works if I do
$(document).ready(myFunction);
$(document).ready(anotherFunction);
but , is there a better syntax where I can pass all the functions at once?
Something like
$(document).ready(myFunction, anotherFunction);
Thanks