Monday, April 30, 2007

The dollar-dollar ($$) function in prototype.

Since I am going to be working with the dollar-dollar ($$) function from prototype pretty soon, might as well do some research and write about it.

It turns out that the newest versions of prototype 1.5.0 and 1.5.1_rc4 include a lot of cool features for the $$ css selector function. Some of the very useful ones include Attribute selectors (~= $= *=).

For details, please refer to http://prototypejs.org/api/utility/dollar-dollar and w3c css selector reference.

No comments: