I have a script that tries to hide the contents of a p element.  What
I'm finding is that, using the hide() method, only the actual p
content is hidden.  The nested elements are left visible.  Is that
expected?  If so, how can I hide everything?  What am I missing?

My markup looks like this:

<h2>This is an FAQ question</h2>
<p>
        You have 2 options:
        <ol>
                <li>Item #1</li>
                <li>Item #2</li>
        </ol>
</p>

Any insight is greatly appreciated.  This seems pretty obvious, but
the docs don't explicitly mention anything about how descendant
elements are handled.

Thanks.

rob wilkerson

--~--~---------~--~----~------------~-------~--~----~
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 [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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to