help with jQuery show and delay -
essentially want text fadein,delay 3 seconds , fadeout. following code fades in out immediately, wont fade in 3 seconds.
$('#temp').fadein('slow', function () { $('#temp').html(response); }).fadeout('slow').delay('3000');
you need chain them in right order:
$('#temp').fadein('slow', function () { $('#temp').html(response); }).delay(3000).fadeout('slow');
Comments
Post a Comment