I ended up solving this problem by using the lazy load method
described here:
http://www.squidoo.com/load-jQuery-dynamically
I think the loadPlugins() function was being called before jQuery had
a chance to fully load, thus causing the errors.
On Jan 15, 12:08 pm, Nalum wrote:
> Hello zendog74
Hello zendog74,
In your script above you have "script.onload = loadPlugins();", the
onload event is only usable in the body tag or the frameset tag.
Other than that I think your script is ok.
On Jan 15, 4:44 pm, zendog74 wrote:
> These just give me undefined errors, as jQuery is not defined if i
These just give me undefined errors, as jQuery is not defined if it is
not loaded.
Again, what I need to do is load jQuery if it is not already loaded
and then load all of the required plug-ins once it is loaded.
On Jan 14, 4:39 pm, waseem sabjee wrote:
> if(jQuery) {
> // jquery is loaded}
>
3 matches
Mail list logo