title: "Permission denied" with Internet Explorer and jQuery
body: <p>I try to do an AJAX call with jQuery and <code>$.post</code> in Internet Explorer, but all I get is an error saying "Permission denied". The problem is kinda weird since it occurs only when I access a page after I was on any other page. </p>
  
  <p>For instance I type the URL in the adress line and let IE load the page. Then I click on a button so the script should start loading JSON data. (The script providing the data lies on the same server and I access it with a relative URL, so using a different domain is not the problem here. Even tried to use a absolute URL with the same host part.)</p>
  
  <p>But when I refresh the page then and try it again it works! Same thing when I come to that page from another page. At first nothing works, but when I click "refresh" everything is fine. </p>
  
  <p>IE gives me the error message "Permission denied" while in every other browser I don't notice this behaviour. Since I have tried many things and still cannot imagine where the problem lies I'd like to ask you what you think the problem might be?</p>
  
  <p><strong>edit:</strong>
  A small example:</p>
  
  <p><strong>test.html</strong></p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt; 
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"&gt; 
      &lt;head&gt; 
          &lt;script type="text/javascript" src="/ietest/jquery.js"&gt;&lt;/script&gt; 
          &lt;script type="text/javascript" src="/ietest/test.js"&gt;&lt;/script&gt; 
          &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; 
      &lt;/head&gt; 
      &lt;body&gt; 
          &lt;a href="#"&gt;Test&lt;/a&gt;
      &lt;/body&gt; 
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>ajax.html</strong></p>
  
  <pre><code>It works!
  </code></pre>
  
  <p><strong>test.js</strong></p>
  
  <pre><code>$(document).ready(function(){
      $( 'a' ).click(function(){
          $.post( '/ietest/ajax.html', function( data ) {
              alert( data );
          });
      });
  });
  </code></pre>
  
  <p>Try it here: <a href="http://t1318.greatnet.de/ietest/test.html" rel="noreferrer">http://t1318.greatnet.de/ietest/test.html</a></p>