10 Example of jQuery Selectors for Web Developers

I am primarily a Java developer but I have done a lot of work with Java web application including Servlet, JSP, and JavaScript on the client side. It was difficult for me to perform client side validation using JavaScript but ever since I come to know about jQuery, I simply love to do more validation and other stuff on the client side. The jQuery gives you immense power to do things with HTML pages and half of that power comes from its CSS-like selector engine, which allows you to select any element or group of elements from HTML page and then do things with them e.g. changes their style or behavior. For example, you can grab the divs and hide them, you can grab the buttons and make them clickable and so on. In order to learn jQuery, you need to learn its selector engine and in this tutorial, I am going to share you 10 good examples of different jQuery selectors e.g. ID selector to select single HTML element, the class selector to select group of an element and * wildcard to select all elements. Since jQuery supports many types of a selector, some of them I didn't even know, it's good to know as much as possible about them.
Read more »