On Thu, Aug 25, 2011 at 5:34 PM, Allan M <[email protected]> wrote:

> In my application, i am able to hide the shipping address in my view
> if a checkbox is checked. I want to add some text (paragraph) in the
> shipping section. I could not figure out how to make this behave like
> the form. I need this hidden too until the checkbox is marked. Is this
> possible?


You'll probably want to do this in javascript. jQuery being the obvious
choice. It's absolutely possible, but it's not at all related to RoR (unless
there's some way to get that behavior within the framework, which I'm
unaware of).

-- 
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