jQuery newbie question
jQuery newbie question
Hello
I have the following line of code:
$('#'+'productdiv').slideUp(300).delay(800).html(req.responseText).fadeIn(400);
The html(req.responseText) always seems to execute before the slideUp, delay, and fadeIn. Is there anyway of preventing this from happening in the incorrect order - i.e. I would like the html to change only after the old html has slid up...
This behaviour occurs in both IE7 and FF3.
Thanks in advance.