So let’s start.
First question that arises, or lets say – most popular interview question – What is JQuery and why to use JQuery?
Formal definition of JQuery is as below
Why to use JQuery ? lets see point by point as below.
- Using jQuery Selectors – you can traverse through the DOM and make changes in the DOM.
- It’s able to figure out which browser it is and how to deal with it, so you don’t need to the code for different browsers.
- You can make Ajax calls using JQuery and also invoke Browser Events.