logo       

Re: Extended $ function called $$: msg#00129

lang.ruby.rails.spinoffs

Subject: Re: Extended $ function called $$

On Thursday 24 November 2005 10:39, Sunny wrote:
> This code lets you use standard CSS selectors to get an array of
> elements.
>
> For example, $$("#container div.myElements") would return all
> subelements of #container that are divs and are of the class
> myElements.

Have a look at these implementations

http://bennolan.com/behaviour/
http://dean.edwards.name/my/cssQuery/
http://www.schuerig.de/michael/javascript/#id2475512

Michael

--
Michael Schuerig The Fifth Rider of the Apocalypse
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@xxxxxxxxxxxxxxxx is a programmer.
http://www.schuerig.de/michael/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise