0
$ is not defined. [ERROR]
Whenever I run html css js on mbil having $ in js It always shows me the error I mentioned in title. But it works fine when I run it on Web Browser either in sololearn or somewhere else.
10 Réponses
+ 2
Could you show us your code where that error happens?
Maybe you forgot to define $
If you are not using jquery, that can happen.
+ 1
Add the ajax script link to your head tag.
refer this:https://www.w3schools.com/jquery/jquery_get_started.asp
Hope it may help.
0
Wait let me share the link
0
remove the type in the script , (type="text/javascript")
0
Not working.
0
It is giving error from the js portion
0
Not html portion