title: IE 11 Access deinied when trying to access popup window.document
body: <p>I'm trying to load a web-application in a new popup window, which sits on a different domain from my application, using a post request (It has to be post request!). Internet explorer is giving me an access denied message when trying to access the document object of the window. I tried other answers posted in similar SO threads, but didn't have any luck...</p>
  
  <p>Note: I can't use <code>''</code> or <code>'about:blank'</code> for the url, because IE considers it to be insecure. </p>
  
  <p>Here is what my code currently does</p>
  
  <ol>
  <li>Create window Object</li>
  <li>Generate form in JavaScript</li>
  <li>Attach form to body of window. // access denied!</li>
  </ol>
  
  <p>Code:</p>
  
  <pre><code>var win = window.open(url, windowname, params);
  var form = $(document.createElement('form'))
                .attr('action', action)
                .attr('method', 'post');
  $(win.document.body).html(form.html()); // access denied!
  </code></pre>