Hi,

I have a similar issue. I want to display a bunch of divs as an
accordion. But I want to retrieve those divs via Ajax and only
initialize the accordion after the divs have been retrieved.

I'm really new to this whole jQueryUI. Any help is very much
appreciated!

Btw, there was some mention about using "accordionchange" event in
another post elsewhere. Does anyone have a good example?

Thanks in advance!


On Apr 7, 8:25 am, martinfcasey <[email protected]> wrote:
> i think i'm running into an issue, implementing a simple "accordian"
> widget from the jquery-ui library, because i'm loading content after
> the page has loaded, with ajax.
>
> i've posted 2 example, one of which works (test1), the other doesn't
> (test2)... the only difference (see the source) is that test2 loads
> the accordian content with the jquery load function.
>
> http://caseyis.com/jquery/test1.html
>
> http://caseyis.com/jquery/test2.html
>
> you'll notice that the content loads fine, but it's not styled as a
> jquery-ui accordian.
>
> from what I've been able to understand, from combing the forums, is
> that i need to reinitialize things after the ajax function calls
> back...
>
> i've been able to do this with regular (click) events (with
> livequery), but am confused on how to reinitialize jquery-ui, after
> the dom has updated.
>
> your help is much appreciated.
>
> - martin.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to