Hello,

I have a form as following:

<form id="MyForm">
  <fieldset>
    <legend>Personal Data</legend>
    ....
  </fieldset>
  <fieldset>
    <legend>Options</legend>
    ....
  </fieldset>
</form>

I would like to hide/show each fieldset when its legend is clicked ...
... or even better, adding a small icon on legend or somewhere in
fieldset to toogle visibility.

How can I do this with JQuery?

Thanks,
Miguel

Reply via email to