Hi, I have problem on my table i would like to select or click the button with the class "mybtn" and make some alert...
The TR is loaded dynamically.
HTML Code:
  <table>
     <tr class="trbank">
         <td>Bank1</td><td>Bank2</td><td>Bank3</td><td><input type="button" class="mybtn"></td>
     </tr>
     <tr class="trbank">
         <td>Bank4</td><td>Bank5</td><td>Bank6</td><td><input type="button" class="mybtn"></td>
     </tr>
      <tr class="trbank">
         <td>Bank7</td><td>Bank8</td><td>Bank9</td><td><input type="button" class="mybtn"></td>
     </tr>

     <tr class="trbank">
         <td>Bank10</td><td>Bank11</td><td>Bank12</td><td><input type="button" class="mybtn"></td>
     </tr>
      <tr class="trbank">
         <td>Bank13</td><td>Bank14</td><td>Bank15</td><td><input type="button" class="mybtn"></td>
     </tr>

  </table>
My code is not working

Code:
  $(function(){
    $('tr.bank').each(function(){
       $(this).parents('td').find(':button.mybtn').click(function(){
           alert("you click this button");
       })
    });
});
Thank you in advance