|
Email lists >
Ruby on rails spinoffs >
[Rails-spinoffs] Re: How to manipulate multiple dom elements simultaneously >
[Rails-spinoffs] Re: How to manipulate multiple dom elements simultaneously
[Rails-spinoffs] Re: How to manipulate multiple dom elements simultaneously
This post if a part of this thread
|
2008-02-23 08:59:41 |
|
|
Re: How to manipulate multiple dom elements simultaneously
|
Yes, documentation explains that. Thank you for the help.
Best wishes
Velan
On Feb 23, 6:36 pm, kangax <kan... gmail.com> wrote:
> Take a look at documentation [1]. It explains how to do
exactly what
> you need.
>
> [1]http
://www.prototypejs.org/api/enumerable/invoke
>
> On Feb 23, 6:20 am, sl_sub <hive... gmail.com> wrote:
>
> > Hi
>
> > Please tell me how to achieve the below. I am
trying to manipulate
> > multiple dom elements simulatenously , for eg:
adding class names to
> > multiple dom elements
>
> >
$("id1","id2","id3").invoke(ad
dClassName('someclassname'); ??
> > $$('div').invoke(removeClassName('somestyle'));
??
>
> > With invoke we may use dom extended methods that
don;t need arguments
> > like hide, show. But how to use extended methods
like addClassName,
> > removeClassName and many more as these needs
arguments.
>
> > Thank you in advance.
> > Velan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
|
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|