[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread GasGiant
Maybe put the "ton of code" in a function so you'll only need the function call inside of your callbacks? On Aug 21, 11:35 am, DMS <[EMAIL PROTECTED]> wrote: > Well, not everything uses AJAX... and there is a ton of code that > would be really messy to mix inside some of the ajax calls...  Some o

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread DMS
Well, not everything uses AJAX... and there is a ton of code that would be really messy to mix inside some of the ajax calls... Some of it is using innerHTML also, which doesn't work for selectors either... On Aug 21, 8:15 am, GasGiant <[EMAIL PROTECTED]> wrote: > Have you tried placing your eff

[jQuery] Re: Selectors for pages loaded via ajax

2008-08-21 Thread GasGiant
Have you tried placing your effects code inside .ajaxStop()? Code inside it does not fire until the AJAX request is complete. http://docs.jquery.com/Ajax/ajaxStop#callback