Hello coding forums,
I need suggestion on setting following script to work in IE8 (-as also actual browser, and it works in modern browsers including IE 9,10)
-this works for entire page load but not as division loader

$('#include-from-outside').html("<img src='ajax-loader.gif'/>").load('index.php?a=cart #shopcart');
}).each(function() {
  if(this.complete) $(this).load();
PS.This is a specific task as third party affiliate script, restricts access within php coding to the elements outside main script.