Chapter 3. Using jQuery in ASP.NET
We will start off this chapter with a short introduction to jQuery. jQuery is a JavaScript library developed to provide a better development experience and a faster coding experience by writing less code to do complex operations much faster compared to plain vanilla JavaScript. However, JavaScript is still there when writing custom scripts for specific reasons. So, jQuery helps you perform DOM manipulation, selecting elements based on class, element name, and so on, and provides a better event handling model to make it simpler for developers to use in their routine projects.
Compared to JavaScript, another advantage is the cross browser issues. It offers consistent behavior across browsers. JavaScript, on the other hand, is implemented differently by each browser. Also, in order to handle cross-browser issues in JavaScript, a developer tends to write some conditional logic to check what browser version JavaScript is running on and handle it accordingly...