On 2/24/06, Todd Ross <[EMAIL PROTECTED]
> wrote:
On 2/24/06, Louis Walch <[EMAIL PROTECTED] > wrote:
> wondering if you have a suggestion for the best way to get child by class
> name.
>
> example would be to target a TR and return a TD with classname of icon in
> order to use innerHTML
Prototype's getElementsByClassName function allows you to pass in a
'parentElement' as the second parameter.
Todd
_______________________________________________
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