title: loading div using jquery inside shadowbox, IE
body: <p>I am opening a page inside a shadowbox. But then when user clicks on a button, it loads the second div in the same page from a different page using jQuery.ajax. It works for FF,chrome and safari but not for IE8.</p>
  
  <pre><code>`function open_shadowbox_div_view(){
  
  Shadowbox.open({
           content:  
                     $("#div1").html(),  
                     player:     "html",                                                    
                     height:     420,    
                     width:      750 ,
                    options:{
                         onFinish: function(){  
  
                         } ,
                            onClose: function(){  }
  
                     }
  
  
  
      });
  
  }
  
  
  
  function newOccFunction(contract){
  
  
      var site_url = "page.php?var=";?&gt;"+var;
  
      jQuery("#div1").load(site_url,function(){open_shadowbox_div_view();});
  
  
  }'     
  </code></pre>
  
  <p>this opens the first div.
  Then there is a button in that page that loads up a div in the same page.php
  Button onclick function
      'function filter(){</p>
  
  <pre><code>    var site_url = "page2.php";
  
      jQuery.ajax({
          type: "POST",
          url : site_url,
  
          success: function(data){
              alert(data);
              jQuery("#sb-player #div2").html(data);
              alert(jQuery("#sb-player #div2").html());//This returns null
  
          },
          failure: function(){
              alert("fail");
          }
  
      });
  }'
  </code></pre>
  
  <p>Any help will be appreciated.
  Than you</p>