It only works in the svn version of Prototype. The current stable version does not have it.

On 2/23/06, louis d walch < [EMAIL PROTECTED]> wrote:

Awesome, I guess I missed that one. Thanks.

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Yehuda Katz
Sent: Thursday, February 23, 2006 8:36 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] suggestion $c()

 

You can use the new $$ with '.'

example $$('.className') returns an array of all elements with the class name 'className'

On 2/23/06, Louis Walch < [EMAIL PROTECTED]> wrote:

i think it would be a good idea to map a shortcut to
getElementsByClassName like the much loved $(). i think $c() seems
applicable.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs




--
Yehuda Katz
Web Developer
(ph)  718.877.1325
(fax) 718.686.4288


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs





--
Yehuda Katz
Web Developer
(ph)  718.877.1325
(fax) 718.686.4288
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to