[Rails] Re: RJS Change Background Color

Asa Hopkins asa at caltech.edu
Tue Aug 8 22:11:42 GMT 2006


page << "Element.addClassName(element, className)"

David R. wrote:
> Thanks for the answer, Zack.
> 
> I'm not sure quite how to use that method, though.  Fitting
> Element.addClassName into an RJS file won't work, and
> page.add_class_name"id of element", "class name" throws an error
> saying AddClassName is not
> defined.
> 
> - David


-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list