title: jQuery delegate table rows selector
body: <p>I have a table which may contain other inner tables (it's not possible to edit generated markup). I want to create a delegate function for row mouseenter and mouseleave which only triggers for the associated main table rows (and not inner tables rows), as following:</p>
  
  <pre><code>  $("#tableid").delegate("tr", "mouseenter mouseleave", function(e) {
      //do stuff here
    });
  </code></pre>
  
  <p>But with this selector it also selects the inner table rows, so how can I modify the selector to avoid selecting inner table rows?</p>