Hello Arian, thanks for you reply. Actually my problem is a bit more complicated. I have one table with one row and a few input fields, like this:
<table id="myTable"> <tr> <td><input type="text" id="item_id" name="item[0][item_id]" value="" /></td> <td><input type="text" id="item_name" name="item[0][item_name]" value="" /></td> <tr> </table> I have to create another tr inside #myTable and populate it with td and input fields, while adding 1 to the item. I should end up like this: <table id="myTable"> <tr> <td><input type="text" id="item_id" name="item[0][item_id]" value="" /></td> <td><input type="text" id="item_name" name="item[0][item_name]" value="" /></td> <tr> <tr> <td><input type="text" id="item_id" name="item[*1*][item_id]" value="" /></td> <td><input type="text" id="item_name" name="item[*1*][item_name]" value="" /></td> <tr> </table> Have you got any link or example? Thank you.
