title: Get HTML code of a local HTML file in Javascript
body: <p>I'm developing a small application with HTML, CSS, Javascript, JQuery and JQTouch.</p>
  
  <p>This is a LOCAL application. I've an index.html with some div's. When I click on a link in this file, I want to load HTML code of page1.html (same folder) and insert into a div of index.html the tag that I want of page1.html.</p>
  
  <p>Example: Inject the content of  (page1.html) into  (index.html).</p>
  
  <p>I try: <a href="http://api.jquery.com/load/" rel="nofollow">http://api.jquery.com/load/</a></p>
  
  <pre><code>$('#loadContent').load('page1.html #test');
  </code></pre>
  
  <p>And the content of loadContent doesn't change. I include JQuery script into index.html...</p>
  
  <p>I try <a href="http://api.jquery.com/html/" rel="nofollow">http://api.jquery.com/html/</a> too, but I think it connect to the server.</p>
  
  <p>Any idea? Thanks!</p>