title: difficulty loading content of a page
body: <p>I am trying an ajax load on page but it not working. It displays some funny errors. I would paste the loader page. content to load and error below.</p>
  
  <p>loader page</p>
  
  <pre><code>   &lt;!doctype html&gt;
  &lt;html lang=en&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8"/&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1" /&gt;
          &lt;link rel="stylesheet" href="themes/mobilethem.min.css" /&gt;
          &lt;link rel="stylesheet" href="themes/mobilethem.css" /&gt;
          &lt;link rel="stylesheet" href="themes/jquery.mobile-1.1.1.css" /&gt;
  
          &lt;script src="themes/js/jquery-1.7.1.min.js"&gt;&lt;/script&gt;
          &lt;script src="themes/js/jquery.mobile-1.1.0.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function (){
  
      //alert("afdasdf");
  
      $('#load').click(function (){
      //alert("asdfsadf");
          $('#result').load("load.html");
      });
  });
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;div data-role="header"&gt;
  
  &lt;a href="#" id="load"&gt; Load page&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div data-role="content"&gt;
  
  &lt;div id="result"&gt;&lt;/div&gt;
  
  &lt;/div&gt;
  
  
  &lt;div id="footer"&gt;
  
  &lt;/div&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>content to load
  load.html</p>
  
  <p>This is the content my friend. how do you want to make this happen</p>
  
  <p>Error message in browser console</p>
  
  <p>event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.7.1.min.js:3
  OPTIONS file:///C:/wamp/www/MyJqueryMobile/load.html No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. jquery-1.7.1.min.js:4
  XMLHttpRequest cannot load file:///C:/wamp/www/MyJqueryMobile/load.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. loadpage.html:1</p>