October 7th, 2012, 10:33 AM
-
More than one $(document).ready(function($) {
Hi, I was wondering if one can use multiple javascripts each beginning with the function:
Code:
$(document).ready(function($) {
Can you only have one of these on a page? I'm importing different scripts and they each have " $document).ready(function($) {" etc. at the beginning.
Or do I have to put all the code within on script, beginning with" jQuery(document).ready(function($) {"
thanks
October 7th, 2012, 11:59 AM
-
Yes you can have more than one.
PHP FAQ
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
October 7th, 2012, 12:42 PM
-
thanks E-Oreo
thanks so much. There must be an issue with my code then.
Your info helps a lot!!