title: Jquery interacting with popup window
body: <p>I have a web page that loads my JQuery code into it. The same page has a link which opens a popup window.</p>
  
  <p>I had an issue using the loaded JQuery and interacting with elements on my popup page. For a submit button I resolved it using :</p>
  
  <p><code>$("body").on('click', '#submitBtn', function(){
  });</code></p>
  
  <p>I've now got a similar issue and need to understand how to get this working on my popup page:</p>
  
  <pre><code>$('#table').delegate('.deleteRow:not(#row .deleteRow)', 'click', function() {
  });
  </code></pre>
  
  <p>The code is for a table row, clicking on a delete icon <code>class='deleteRow'</code> deletes selected row.</p>
  
  <p>I'm not sure what to try.. anyone any ideas ?</p>
  
  <p>Thanks</p>