Attaching jQuery to buttons after document.ready
<p>I'm writing some code based on the following article:</p>

<p><a href="http://charlie.griefer.com/blog/2009/09/17/jquery-dynamically-adding-form-elements/" rel="nofollow">jQuery - Dynamically Adding Form Elements</a></p>

<p>What I would like to do is to have buttons on each row to add a new row below the row the button is on.</p>

<p>This works OK for the first row, because there is code in document.ready to attach a jQuery function to the button.</p>

<p>However, the button in the second row is added dynamically - how do I attach the same function to this dynamically added button?</p>

<p>Thanks.</p>

<p>Matt.</p>
