Home Ajax Jquery jQuery selectors



jQuery selectors
Posted on: September 6, 2010 at 12:00 AM
jQuery selectors tutorial. Learn the selectors in jQuery.

jQuery selectors

     

jQuery selectors

In this tutorial we are discussing jQuery selectors.

The jQuery selectors are one of the main feature in jQuery library .These selectors uses CSS syntax to allow page developer to easily identify the elements of page to operate upon with jQuery library methods. For using JQuery library most effectively , you must be familiar with  jQuery selectors.

Syntax pattern of jQuery selector :

$.(selector).methodName();

The selector is a string expression that identify the element on which the the method has to be implemented. For example :

$("p").click();

You can also hide the paragraph as follows :

$("p").hide();

You can also apply the CSS class to any element as :

$("p").addClass('box');

Types of jQuery selectors :

There are three categories of jQuery selector :

1.Basic CSS Selector

2.Positional Selector

3.Custom jQuery Selectors.

Learn from experts! Attend jQuery Training classes.

Related Tags for jQuery selectors:


More Tutorials from this section

Ask Questions?    Discuss: jQuery selectors  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.