Difference between ID selector and class selector in jQuery?

1-5 Year Interview Que. 5+ Year Interview Que. jQuery Top 20 HTML Questions

The difference between ID and class selector, It is same with jQuery. ID selector uses ID e.g. #element-id to select element, while class selector uses CSS class to select elements. When you just

What are the advantage of using jQuery?

1-5 Year Interview Que. 5+ Year Interview Que. jQuery Top 20 HTML Questions

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 Capabiliti

What is $() in JQuery library?

1-5 Year Interview Que. 5+ Year Interview Que. jQuery

The $() function is an alias of jQuery() function, at first it looks weird and makes jQuery code cryptic, but once you get used to it, you will love it’s brevity. $() function is used to wrap any