+ 1

Not Functional [SOLVED]

When I run a code that has jQuery in it, it shows a dollar sign at the console log telling me that $ is not a function and my data is on. I've cleared the cache, I added the jQuery reference to the script tag but nothing worked what do I do now?

12th Jan 2021, 4:52 PM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar
4 Antworten
+ 5
Just add a reference to the JQuery source before your script:
12th Jan 2021, 5:16 PM
Aditya
Aditya - avatar
+ 2
Aditya[Less active], I did add the jQuery reference but nothing worked
12th Jan 2021, 7:59 PM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar
+ 1
Jadene & Kayla Onobun it needs to be added before the script tag where you write your own code. If you're writing in SoloLearn, try putting it in head instead of body.
12th Jan 2021, 8:34 PM
BlazingMagpie
BlazingMagpie - avatar
+ 1
BlazingMagpie, I did add the jQuery reference to the script tag but nothing worked
12th Jan 2021, 9:06 PM
Kayla Onobun (QOG)
Kayla Onobun (QOG) - avatar