jquery is nearing the end, plus a summary blog, so it's perfect.
Say jquery, write less, do more, core ideas. Everyone said, "with jquery, drinking tea every day," This is standing on the shoulders of giants. Start with the B/S project. At that time, NIU teacher with us to do "beef Brisket news Release System" when it has been mentioned, then we are also elephant, to the present or the original knowledge to compare, to summarize it.
First of all, the difference between jquery and JavaScript, compared to the efficiency, this is not bad. The first thing to understand is that jquery is the most popular JavaScript library.
The disadvantage of JavaScript is that the results of processing in different browsers may differ. Security issues, JavaScript may be exploited by hackers because they are running on the client, and the results may be different in different browsers.
The biggest benefit of jquery is that a small amount of code is doing more. Look at an example.
JavaScript code:
document.getElementById (' ElementID '). Value
jquery Code:
$ (' #elementid '). Val ();
jquery's syntax is much simpler than JavaScript. With jquery, it's easy to navigate through documents, select elements, handle events, and add effects lights, while also allowing developers to customize plugins.
Benefits of jquery:
jquery eliminates JavaScript cross-platform compatibility issues, jquery is easier to use than others, and jquery has a huge library of functions, which is my favorite.
There are two sides to everything, and the disadvantage of jquery, not the JavaScript language of the original, is difficult to understand. It's hard to start everything. The project needs to include the jquery library file, which can conflict if there are multiple versions of the jquery library.
There will be some corresponding jquery technical summary in the latter chapter. Cond.....
The difference between jquery and JavaScript