I want to use jQuery\'s load function to load some content into a div, and I want to also call jQuery\'s animate function.
load
animate
$(\'#div
Use:
$('#div1').queue(function(){ /* do stuff */ });
This way you can queue functions to execute one after the other.