reinitialize after ajax call?
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.