jquery - code wont work when it has been implemented once
<p>the biggest problem I have is understanding why some of my code wont work one it has been used once.</p>

<p>i.e.</p>

<pre><code>$('input[name=add_y_option]').bind( 'click', function(){
    var ob = $(this);
    var ob_parent = '&lt;tr&gt;' + ob.parents('tr:eq(0)').html() + '&lt;/tr&gt;';
    var tbody = ob.parents('tbody:eq(0)');
    var copy = tbody.children(':first').html();
    ob.parents('tr:eq(0)').remove();
    tbody.append('&lt;tr&gt;' + copy + '&lt;/tr&gt;');
    tbody.append(ob_parent);
    var inserted = tbody.children(':last');
    return false;
});
</code></pre>

<p>once I have clicked the button it creates the row, fine. But once i click it again it no longer reconises the button. </p>

<p>Could anyone point me in the right direction.</p>

<p>regards phil</p>
