I have a web application, written in vanilla JavaScript. I'd like to enhance it with jQuery animations and use a few features which I've found in various jQuery plugins, such as Uploadify . In what ways is it possible to mix jQuery into vanilla JavaScript? Will I need to use separate script tags or separate files? Can I simply insert lines of code written with jQuery syntax into sections of plain JavaScript?
Thanks
You don't have to do anything special. jQuery is just a library of Javascript functions and methods -- it is ordinary Javascript.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.