+ 4
Just Want some clarification about why are jQuery Codes not working?
When we go to jQuery Course, all the examples of jQuery are not running. They are showing errors. My code too is showing error. Why is this happening? https://www.sololearn.com/learn/jQuery/2816/ https://code.sololearn.com/W798vFndOefj/?ref=app
14 Answers
+ 6
Akash Pal mabye try moving the jQuery code to a script element inside the body element instead of the JS tab.
+ 7
I am clueless to give out speculations regarding your question😓
+ 7
Swapnil Srivastava It is showing $ not defined. Line 3.
+ 6
It works in my device
+ 6
Maybe your Android version is quite old and it does not support Jquery
+ 6
What error is it showing ?
+ 6
It works on my device.
(Huawei honor)
Edit:
jQuery 3.1.1 version is old maybe that's why it has some compatibility issues.
Try newest version.
+ 6
If nothing works, try clearing the cache of Sololearn app from settings.
+ 6
Thanks Swapnil Srivastava It is working now.
+ 5
Make sure you have working internet line.
Try to open
https://code.jquery.com/jquery-3.1.1.js
from your browser, to check jQuery loading.
+ 4
It is not working in my phone.Why?
+ 4
Muhd Khairul Amirin Bin Yaacob My device's android version is up to date, i.e. 7.0.
+ 4
Calviղ I have checked it is loading in my browser.
+ 1
Call tech support