How to increment id's on Input fields with Jquery on clone
<p>I am trying to increment a form field ID so they are all different when i click on the plus to create a new row of input fields.</p>

<p>Here is my code so far</p>

<pre><code>//Order Form
    $("#add").click(function() {
        $('#ordertable tbody&gt;tr:last').clone(true).insertAfter('#ordertable tbody&gt;tr:last');
        $('#ordertable tbody&gt;tr:last #prodcode').val('');
        $('#ordertable tbody&gt;tr:last #meterage').val('');
        $('td.imgsample:last a').remove();
        return false;
    });
</code></pre>

<p>On the first line within the click function how can i change the input fields (prodcode &amp; meterage) to be prodcode1 meterage1 e.t.c</p>
