Yes,

I tried that before but it did not work this is why I asked.

I placed an example online:
http://www.27lamps.com/Beta/Collapse/Form.html

You can see that each form's fieldset has an ordered list inside.
I want to show/hide the OL instead of adding it to a new div.

Could someone, please, help me with this?

Thanks,
Miguel

On Mar 17, 6:01 pm, ricardobeat <ricardob...@gmail.com> wrote:
> Try this:
>
> var body = fieldset.find('ol:first')
>
> http://docs.jquery.com/Selectors
>
> On Mar 17, 12:13 pm, shapper <mdmo...@gmail.com> wrote:
>
> > Hello,
>
> > I am trying to find update a plugin to create new functionality.
> > On the current version I have the following:
>
> >     var legend = fieldset.find(':first');
> >     var body = jQuery(document.createElement('div'));
>
> > - How can I get the first OL element inside fieldset to use it as body
> > instead of creating a new element (the div as it is currently?
>
> > - And can I set which element should be searched (ol, ul, div, etc)
> > inside the fieldset?
>
> > Thank you,
> > Miguel

Reply via email to