title: Named anchors not working with dynamic html and jquery
body: <p>I am trying to add a html snippet dynamically which contains named anchors and destinations via jquery append('html') method</p>
  
  <p>None of the named links work after the append. The newly added content is visible on the page, but the links dont work. Is it because these tags were added dynamically, or am I doing something wrong here? However, all server side generated named anchors work fine. </p>
  
  <p>simplified html:</p>
  
  <pre><code>&lt;a href="#tab"&gt;Foo&lt;/a&gt;
  
  &lt;div id="tab"&gt;&lt;/div&gt;
  
  ("#testButton").click(function() {
     $('#mainSegmentDiv').append("html")
  });
  </code></pre>