+ 4

Why doesn't this work?

On the browser it says on the console $ is not defined even though I made a script tag that has a src attribute to "https://code.jquery.com/jquery-3.1.1.js".

5th Jul 2019, 2:00 AM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
5 ответов
+ 2
I found out the solution. To copy all the code from the website, paste it in a js file, and link it to there instead.
10th Jul 2019, 8:18 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
+ 2
Um, what?!
9th Jul 2019, 11:26 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
+ 1
::sk::, it was on a windows computer, and I'm on mobile...
10th Jul 2019, 3:42 PM
Rishan [da_coder, semi-active]
Rishan  [da_coder, semi-active] - avatar
0
Can you post a (partial) MWE that shows the behaviour you describe _as code_? Thx!
9th Jul 2019, 11:25 PM
::sк::
::sк:: - avatar
0
Post a code please, so that others can have a look at it.
10th Jul 2019, 6:17 AM
::sк::
::sк:: - avatar