title: Accessing Iframe content using jquery on IE
body: <p>I am trying to upload a file using an hidden Iframe and get the response back. The following code works fine on Firefox but breaks on IE. It fails on getting the response back. </p>
  
  <pre><code>Line....
  var content = $j(this).contents().find("body:last").text();
  </code></pre>
  
  <p>Any help/suggestion is deeply appreciated.
  Thanks.</p>
  
  <pre><code>$j('#uploadForm').submit(function(e) {
  
          var jThis = $j('#uploadForm');
          var strName = ("uploader" + (new Date()).getTime());
          var jFrame = $j("&lt;iframe id=\"" + strName + "\" name=\"" + strName + "\" src=\"about:blank\" /&gt;");
          jFrame.css("display", "none");
  
          jThis
                  .attr("method", "post")
                  .attr("enctype", "multipart/form-data")
                  .attr("encoding", "multipart/form-data")
                  .attr("target", strName)
                  ;
  
          $j("body:first").append(jFrame);
  
          jFrame.load(function(objEvent) {
              var content = $j(this).contents().find("body:last").text();
              alert(content);
  
      });
  });
  </code></pre>