[Solved] In jsfiddle, it works in pure javascript, But – when I include this in my code, it doesn’t work without jquery included [closed]


If you check the Resources tab of that fiddle, it actually says it includes jQuery:

Screenshot of Fiddle meta

Mind that $ isn’t standard JavaScript, but a jQuery function/API to start with.

4

solved In jsfiddle, it works in pure javascript, But – when I include this in my code, it doesn’t work without jquery included [closed]