Sorry, I don't understand what your mean. Please, check the code I am using in: http://www.27lamps.com/Beta/Collapse/JQuery.Collapsible-1.0.js
The change I am trying to do is in the following lines: var legend = fieldset.find(':first'); var body = jQuery(document.createElement('div')); // var body = fieldset.find('ol:first') On Mar 18, 2:12 pm, AnatolyG <anat...@geyfman.net> wrote: > $("fieldset ol:eq(0)").hide() > > shapper 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