Losing CSS when populating accordian via ajax
I have a situation where I'm pulling back HTML for an accordian vai
AJAX but the CSS isn't rendering. My jquery hook like this:
$("div.accordion").accordion();
// handle ajax content update for financial tab
$("#spp_link").click(function ()
{
$("#financial_content").load("/calculate/loadFinancial/id/1/type/
spp");
});
I've experimented with having the HTML placed in the
"finaicial_content" div when the page loads and it works fine, but if
I make it dynamically display upon clicking a link the CSS and
accordian behavior doesn't render. Is there some event I need to
trigger on the accordian after the ajax loads for this to work?
Duane