0

Why jQuery is not working in code playground?

30th Jun 2017, 11:47 AM
Patrick Muñoz
Patrick Muñoz - avatar
5 Respuestas
+ 6
....As I can see in your code you should include <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> inside head tag instead of body tag Then It's gonna work in this code playground
30th Jun 2017, 11:50 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
put this tag at the end of body tag <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
30th Jun 2017, 11:48 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
Oh And I forgot to say one more thing Nice code,tho
30th Jun 2017, 12:05 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
jQuery only works if you add the script tag inside head tag instead body tag in Playground, but I think the correct rule is to add the script tag before the close body tag, </body>.
30th Aug 2018, 6:53 AM
Jaime Quirant
Jaime Quirant - avatar
0
thanks for the answers i finally solve my problem 😀
30th Jun 2017, 11:55 AM
Patrick Muñoz
Patrick Muñoz - avatar