title: load html page with jquery and select element from it
body: <p>I am having a problem with selecting an element from a previously loaded html page</p>
  
  <p>if I use this code, the one before last is designated too be the last in the dom-tree
  instead of the one that I just inserted</p>
  
  <pre><code>$("div.wrapper:last").after('&lt;div class="wrapper"&gt;&lt;/div&gt;'); 
      $('.wrapper:last').load('tbnote.html .pane');
      $(".pane:last").prepend("testmessage");
  </code></pre>
  
  <p>What can I do, too make it work, because I need too set the hidden field value too the primarykey value of a database table</p>
  
  <p>if it is not possible, what would be an alternative to get the content in the div with the hiddenfieldvalues already set??</p>
  
  <p>Thanks in advance, Richard</p>