Listen for added table rows
<p>Lets say i have a table:</p>

<pre><code>&lt;table&gt;
    &lt;tr&gt;&lt;/tr&gt;
&lt;/table&gt;

$(function(){

    $('#btn').click(function(){
         $('table').append('&lt;tr&gt;&lt;input class="remove" value="remove"&gt;&lt;/tr&gt;');
    });

    $('.remove').on('click', function(){

         $(this).parent().remove();
   });

});
</code></pre>

<p>Is there any way to bind a custom event handler that triggers whenever a row is added or removed, using jQuery?</p>

<p>Thanks</p>
