Frederick Cheung wrote:
> 
> the second argument to link_to_function is an arbitrary javascript
> fragment. You can put as much in there as you want.
> 
> Fred

To give just a little more detail to what Fred said, you can do 
something like

"Effect.toggle('this-thing'); Effect.toggle('that-thing');"

Just remember that needs to be proper JavaScript since it's going to be 
eval'd.

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to