0

For some reason jquery is automatically being loaded in my browser as if it was native to the browser. $ is supposed to be undefined if jquery is not being loaded. Even if I open a new tab and type $ in the console, it is allowing me to use jquery. How is this happening?

3
  • The answer is in the duplicate. The solution is to always check for jQuery, not $, to determine if jQuery has been loaded. Commented Jan 5, 2021 at 18:24
  • jQuery is undefined. My question is why is $ defined... Commented Jan 5, 2021 at 19:26
  • 1
    Yep, that's what the duplicate and my previous comment addresses. Commented Jan 5, 2021 at 19:27

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.