Hello,

I have a list of fieldsets and each one has a legend.
I am thinking in having something like:

<fieldset>
  <legend>Personal Data</legend>
  <ul>
    <li>first element</li>
    <li>second element</li>
  </ul>
</fieldset>

How can Show/Hide the ul when I click the legend?

I would like to have many fielsets on a form and being able to Show/
Hide the contents of any fieldset.

Thanks,
Miguel

Reply via email to