Streaming live at 10am (PST)

Accessing jQuery


#1

Hi,

I understand that webflow already loads the latest version of jQuery. However, when I try to access the jQuery object from some code in the head section of my site, I get a console error that the object isn't defined. Any ideas on what I'm doing wrong? Currently, I'm loading jQuery in the head so I can access it, but I realize this isn't best practice as it could conflict with the webflow-loaded version.

Read-only: https://preview.webflow.com/preview/liveschool-20?preview=8474701641b19db3b90826520e4f8dbb

Cheers,
Matt


#3

jQuery is only loaded at the footer, so place your code in there.


#4

Cool, that works great. Thanks!


#5