+ 2
What is $ reference error.?How can it be eliminated?
Uncaught reference error.$ is not defined in line 8
5 Réponses
+ 3
Share your code, please... Maybe a syntax error occurred.
+ 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>
0
$("#s").click(function(){
$("#s").css("visibility","hidden");
});
Shovon here is the code. s is an image with id s
0
you have included jquery script? 😒
0
😁👍👍