Triggering Javascript after AJAX

reuben.m-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-07-31T22:43:57Z

I have a page starting out with:




After an AJAX call, the innerhtml is updated to:





where after the new content is loaded, I want to run

 $(''newDiv'').fade({ duration: 2.0, from: 1,  to: 0 });

I can''t figure out how to set this up. Code examples or links to
documentation would be nice... :)