title: jquery issue with click when firering .on
body: <p>I need to know what is going wrong here, when I try to run the following it does not work, not alert box no error nothing.</p>
  
  <pre><code>$(function() { 
  $("tbody[name=leadstores]").on("click","tr",function(e){
  
  alert("clicked");
  });
  
  });
  </code></pre>
  
  <p>Just wondering am I doing something wrong.</p>
  
  <p>Forgot to say, that this script was working when I used </p>
  
  <blockquote>
    <p>.live</p>
  </blockquote>
  
  <p>here is the table</p>
  
  <pre><code>&lt;table id="tableprod" style="width: 100%; "&gt;
  &lt;thead id="storelocation" class="fixedHeader" style="min-width: 800px; "&gt;
  &lt;tbody id="tbbody" name="leadstores"&gt;
  
  &lt;tr id="20"&gt;
  &lt;td name="street" class="company" style="width: 400px; padding-right: 2%; "&gt;Shop 1012, Westfield Bondi Junction, 500 Oxford Street&lt;/td&gt;
  &lt;td name="suburb" class="company" style="padding-right: 3%; "&gt;Bondi Junction&lt;/td&gt;
  &lt;td name="postcode" class="field" style="padding-right: 3%; "&gt;2022&lt;/td&gt;
  &lt;td name="state" class="field" style="padding-right: 3%; "&gt;NSW&lt;/td&gt;
  &lt;td name="phone" class="company"&gt;(02) 9388&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id="21"&gt;
  &lt;td name="street" class="company" style="width: 400px; padding-right: 2%; "&gt;Kiosk KG17, Westfield Doncaster, 619 Doncaster Road&lt;/td&gt;
  &lt;td name="suburb" class="company" style="padding-right: 3%; "&gt;Doncaster&lt;/td&gt;
  &lt;td name="postcode" class="field" style="padding-right: 3%; "&gt;3108&lt;/td&gt;
  &lt;td name="state" class="field" style="padding-right: 3%; "&gt;VIC&lt;/td&gt;
  &lt;td name="phone" class="company"&gt;(03) 9840&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id="23"&gt;
  &lt;td name="street" class="company" style="width: 400px; padding-right: 2%; "&gt;Kiosk 66A, Macquarie Centre, cnr Herring &amp; Waterloo Rd&lt;/td&gt;
  &lt;td name="suburb" class="company" style="padding-right: 3%; "&gt;North Ryde&lt;/td&gt;
  &lt;td name="postcode" class="field" style="padding-right: 3%; "&gt;2113&lt;/td&gt;
  &lt;td name="state" class="field" style="padding-right: 3%; "&gt;NSW&lt;/td&gt;
  &lt;td name="phone" class="company"&gt;(02) 9889&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>