How to define $ jquery in javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to define $ jquery in javascript

The stuff that says $(function(){ $("#demo"). text("Hello!") });

14th Sep 2020, 5:11 PM
Joseph
Joseph - avatar
2 Answers
+ 1
You have to import jQuery from its CDN by including this line in your <head> tag. <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
14th Sep 2020, 5:17 PM
Ore
Ore - avatar
+ 1
What problem are you facing? Show your code Your Question is not clear
14th Sep 2020, 5:12 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar