[jQuery] Re: Keep Accordion Open When Using Ajax

2008-02-20 Thread Matt White
; this.style.fontWeight = "bold"; previousElement = this; // Return false to prevent default closing behavior return false; }); }); On Jan 25, 1:06 pm, Matt White <[EMAIL PROTECTED]> wrote: > I am using an accordion with a list of main categories, each with a &

[jQuery] Keep Accordion Open When Using Ajax

2008-01-25 Thread Matt White
I am using an accordion with a list of main categories, each with a list of sub categories (so just 2 levels of hierarchy). When you click a sub category, a nearby div element is populated with a list of products via Ajax. The normal behavior for the accordion when you click the sub category is to