title: AJAX loading in HTML to a div not working
body: <p>Hi I'm trying to dynamically insert a html file into a div on my page. I have tried the jQuery .load and .get as well as a longer AJAX method that I know of. None have worked so far.</p>
  
  <p>To complicate matters I am using onhashchange for AJAX deep linking. My code looks like this:</p>
  
  <pre><code>function locationHashChanged() {
      if (location.hash === "#link1") {
           var path = "link1.html";
           $('#content').load(path); 
  
           return false;
      }
  }
  
  window.onhashchange = locationHashChanged;
  
  
  
  
  &lt;a href="#link1"&gt;Link1&lt;/a&gt;
  </code></pre>
  
  <p>This then should insert the link1.html into #content div when link1 is clicked. The hash change is fine because when I put alerts in it is fine. However the inserting of the HTML is where it fails. Any ideas why and how I can fix this? Thanks.</p>