Can I use JavaScript and JQuery at the same time in one file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Can I use JavaScript and JQuery at the same time in one file?

28th Jul 2017, 12:03 PM
Oeoes Roy
Oeoes Roy - avatar
2 Answers
+ 5
Yes, but not if the file you're working in is the reference to JQuery. https://stackoverflow.com/questions/3677140/can-regular-javascript-be-mixed-with-jquery O, and JQuery is a JavaScript library so technically they are the same
28th Jul 2017, 12:59 PM
The Coding Sloth
The Coding Sloth - avatar
+ 4
nope because JavaScript and Jquery is very different so it can't in the same one file it needs a script tag with one language .😐
28th Jul 2017, 12:24 PM
Art456
Art456 - avatar