The main advantages to adding jQuery to your toolset would be:
- Browser compatibility – doing something like .attr() is much easier than the native alternatives, and won’t break across browsers.
- Simplification of usually complicated operations – if you’d like to see a well written cross browser compatible version of an XHR method, take a look at the source for $.ajax – for this method alone it’s almost worth the overhead of jQ.
- DOM selection – simple things like binding events & selecting DOM elements can be complicated and differ per-browser. Without a lot of knowledge, they can also be easily written poorly and slow down your page.
Don’t forget to tell us which technology you use while developing web application. Please leave your comments, feedback and suggestions in the comments section below.
Latest posts by Gaurav Chaudhary (see all)
- Top 6 free code editors for web development - January 4, 2016
- Developer Guide to Entity Framework Part-1 - December 17, 2015