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?
Asked
Active
Viewed 18 times
0
-
The answer is in the duplicate. The solution is to always check for `jQuery`, not `$`, to determine if jQuery has been loaded. – Rory McCrossan Jan 05 '21 at 18:24
-
jQuery is undefined. My question is why is $ defined... – jhaubrich.com Jan 05 '21 at 19:26
-
1Yep, that's what the duplicate and my previous comment addresses. – Rory McCrossan Jan 05 '21 at 19:27