Thank you both, I had specified an id for the label and called
page.toggle on it as Frederick suggested, but I suspected a label to
be able to do more than that. Apparently not. This will do the trick.
Is there a way to toggle an object directly from :onchange, by the way?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk@...
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-~----------~----~----~----~------~----~------~--~---