Ah, I see. Is tbody relatively new, because I never remember using it when I used tables a while back. So now it lets me remove all the rows, including the default ones, which is good. One more quick question though which is slightly JQuery, but it happens on some normal fields aswell. One of the fields in a table row is
Code:
<input type="text" name="popupdepartdate2[]" id="popupdepartdate2" class="popupdatepicker" value="Depart" />
Now they all use the same class, basically because they use the same datepicker. The date picker displays fine for the rows which are in the original table. It doesnt display though for the new rows which are added. The new rows which have this field have the same class name, so not to sure why this happens? And when I check it with firebug, it has the right class name. The only thing I can think of is this having something to do with the JQuery for the datepicker being processed before the new rows are added, but then how could I get around this?
Nick