title: My XML file is not being by Google Chrome and Internet Explorer
body: <p>I am making a simple javascript application where I need to load an xml files and show them in front of the user. but my code only works in Mozilla Firefox but when it comes to chrome and Internet Explorer they are not working. I am loading my XML document in a local machine.</p>
  
  <pre><code>$(document).ready(function() {
      $('.buttons').slideToggle('medium');
  
      $.ajax({ 
      url: "dictionary.xml", 
      success: function( xml ) { 
          $(xml).find("word").each(function(){ 
              $("ul").append("&lt;li&gt;" + $(this).text() + "&lt;/li&gt;");
          }); 
     } 
      });
  }
  </code></pre>
  
  <p>And Here's my XML</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt; 
    &lt;xml&gt; 
  
      &lt;word&gt; 
        &lt;threeletter&gt;RIP&lt;/threeletter&gt; 
        &lt;fourletter&gt;PIER&lt;/fourletter&gt;
        &lt;fiveletter&gt;SPIRE&lt;/fiveletter&gt; 
        &lt;sixletter&gt;SPIDER&lt;/sixletter&gt; 
       &lt;/word&gt;
  
       &lt;word&gt; 
        &lt;threeletter&gt;SUE&lt;/threeletter&gt; 
        &lt;fourletter&gt;EMUS&lt;/fourletter&gt;
        &lt;fiveletter&gt;SERUM&lt;/fiveletter&gt; 
        &lt;sixletter&gt;RESUME&lt;/sixletter&gt; 
       &lt;/word&gt;
  
       &lt;word&gt; 
        &lt;threeletter&gt;COO&lt;/threeletter&gt; 
        &lt;fourletter&gt;CON&lt;/fourletter&gt;
        &lt;fiveletter&gt;CONDO&lt;/fiveletter&gt; 
        &lt;sixletter&gt;CONDOM&lt;/sixletter&gt; 
       &lt;/word&gt;
  
      &lt;/xml&gt;
  </code></pre>
  
  <p>I found the error, here it is</p>
  
  <pre><code>XMLHttpRequest cannot load file:///C:/Users/John/Desktop/JsTwist/dictionary.xml. Origin null is not allowed by Access-Control-Allow-Origin.
  </code></pre>