Posts

Showing posts with the label Jquery

Jquery interview questions and answers

Image
Q1. What is jQuery? Ans: jQuery is  fast, lightweight and feature-rich  client side JavaScript Library/Framework which helps in to traverse HTML DOM, make animations, add Ajax interaction, manipulate the page content, change the style and provide cool UI effect. It is one of the most popular client side library and as per a survey it runs on every second website. Q2. Why do we use jQuery? Ans: Due to following advantages. Easy to use and learn. Easily expandable. Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+) Easy to use for DOM manipulation and traversal. Large pool of built in methods. AJAX Capabilities. Methods for changing or applying CSS, creating animations. Event detection and handling. Tons of plug-ins for all kind of needs. Q3. How JavaScript and jQuery are different? Ans: JavaScript is a language While jQuery is a library built in the JavaScript language that helps to use the JavaScript language.