+ 2

What is $ reference error.?How can it be eliminated?

Uncaught reference error.$ is not defined in line 8

1st Oct 2018, 6:44 PM
Bold Pilot
Bold Pilot - avatar
5 ответов
+ 3
Share your code, please... Maybe a syntax error occurred.
1st Oct 2018, 6:53 PM
🆂🅷🅾🆅🅰🅽
🆂🅷🅾🆅🅰🅽 - avatar
+ 1
KrOW , Ok I solved the problem , I wrote the code following in body tag instead of head 😉 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
1st Oct 2018, 7:38 PM
Bold Pilot
Bold Pilot - avatar
0
$("#s").click(function(){ $("#s").css("visibility","hidden"); }); Shovon here is the code. s is an image with id s
1st Oct 2018, 7:04 PM
Bold Pilot
Bold Pilot - avatar
0
you have included jquery script? 😒
1st Oct 2018, 7:21 PM
KrOW
KrOW - avatar
0
😁👍👍
1st Oct 2018, 8:01 PM
KrOW
KrOW - avatar