Home >Web Front-end >Front-end Q&A >What is the difference between nodejs and jquery
Difference: jquery is a javascript library running on the client, which mainly provides simplified operations for operating DOM and so on, and handles client affairs; while nodejs is a server program running on the server, which is a server software that can Use js language to operate server-level transactions.
The operating environment of this tutorial: windows7 system, nodejs version 12.19.0&&jquery1.10.0, Dell G3 computer.
The difference between nodejs and jquery
jquery is a javascript library running on the client, which mainly provides simplified operations for operating DOM and so on;
node .js is a server program running on the server side. It runs the JavaScript language. It is a server software that interprets and executes the JS language. You can use js language to operate server-level transactions, such as creating http links and information I/O. These are performed using the same js language as jquery.
That is to say, node.js is a server program that uses js language and can run jquery, but some of the events are not used;
jquery is a js library, mainly for processing Client transactions.
For more programming-related knowledge, please visit: Introduction to Programming! !
The above is the detailed content of What is the difference between nodejs and jquery. For more information, please follow other related articles on the PHP Chinese website!