Selectors are most important part of the jQuery API or
library. They use very easy syntax to identify a set of elements. They
completely change the way we work with our JavaScript code. Here i will explain
the jQuery Selectors available in the latest version (1.3.2).
So before exploring the Selectors I would recommend to
download the latest version of jQuery from jQuery.com. Then create a new web
site in Visual Studio. Add the downloaded jQuery.js file to your web site. Then
in your Default.aspx page specify the reference to the jQuery.js file like this
:
<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
At this point you are ready to work
with jQuery and to test all the Selectors.
Add a new <script type="text/javascript"></script> tag. Write all your jQuery code within this tag.