> For example, in $(document).ready( ...
> jQuery.require('jquery.accordion');
> $('#myaccordion').Accordion();
>
> jq.getScript(src);
> // here it should wait, but how?That won't wait, obviously, because it's an async call. You either need to use synchrnous ajax (like dojo) or use callbacks. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
