Thanks ripple. So are you saying you had to remove and clear the individual elements and attributes, rather than using empty() or remove() on the UL?
Why wouldn't removing or emptying the contents of the UL do the same thing? I guess I'm confused as to what or where (why!) information about the contents of the UL is being cached if we've reset it to an empty <ul></ ul> rolf On May 1, 8:13 am, ripple <[EMAIL PROTECTED]> wrote: > I had to handle this situation over a week ago. > > I just wrote a couple lines to remove all tree attributes from the > generated source and then rebuilt the tree. > > $('.sample ul:eq(0)').removeClass('treeview'); > $('.sample li').removeClass(); > $('.sample ul div').remove(); > $('.sample ul').removeAttr('style'); > > $('.sample ul').tree(); > > See my working sample > here.http://www.2whoa.com/apps/demo/apex-admin/hierarchy.html > > Works great on IE6 and FF. Haven't tested it on a Mac yet. > > I hope that helps. >