Posts Tagged ‘selectors’

jQuery Looks like XPath

tp_vol4_020 So far in our examination of jQuery we’ve seen how to select an ID, select a set of elements by tag name and select a set of elements by their class.  But what if we wanted to select a set of elements based on some other condition?

As the title of this post suggest, all you need is a basic knowledge of XPath statements and you are all set.

Read the rest of this entry »

jQuery Selectors – Looks just like CSS

187629_5335 Last week we took a look at the jQuery selector syntax, which allows us to select elements by their ID, class name, or tag name.

While it is pretty cool that you can select by class name, that really doesn’t buy us a whole lot.  But you can do a whole lot more by using CSS style syntax.

Read the rest of this entry »