ajax jquery loading animation

Code to Run
$('#' + id).html('<img src=&quot;http://coding.smashingmagazine.com/wp-content/uploads/2011/11/loading.gif&quot; />');
$('#' + id).load('http://coding.smashingmagazine.com #footer');
Code to Reset
$('#' + id).empty().hide();

댓글