title: Codeigniter jquerytools overlay in dynamic content
body: <p>I'm a bit new to jquery tools and javascript in common. I've tried to google/search this forum, but I probably dont know exactly what to search.
  Thing is:
  I have a page which has tabs.
  Inside one tab when the button is pressed depending os input text it list some records
  Loads using</p>
  
  <p>myUrl = 'admin/listusers/' + mySearch +'/'+ pageNr +'/'; </p>
  
  <pre><code>        $("#userlist").html("&lt;b&gt;Loading user list...&lt;/b&gt;"); 
          $("#userlist").load(myUrl); 
  </code></pre>
  
  <p>the loaded content contains links to be opened in Overlay.</p>
  
  <p>I've tried putting overlay code in all 3 locations (main page html, tab inner html, dynamic content itself) it still does not work, it just open links in the same window, just like regular ones.</p>
  
  <p>Dynamic content also contains another javascript function and it works (used for pagination onclick="pagepress(PageNr):</p>
  
  <p>function pagepress(pageNr) { 
              searchstring = document.getElementById('searchstring'); </p>
  
  <pre><code>        if (searchstring.value != '') { 
              mySearch = searchstring.value; 
          } else { 
              mySearch="0"; 
          } 
  
          myUrl = 'admin/listusers/' + mySearch +'/'+ pageNr +'/'; 
  
          $("#userlist").html("&lt;b&gt;Loading user list...&lt;/b&gt;"); 
          $("#userlist").load(myUrl); 
      } 
  </code></pre>
  
  <p>What might be wrong? Or maybe someone can give me a tip what to look for?</p>
  
  <p>Thanks</p>