sono riuscito a scaricare l'esempio:
eccolo:
...<script type="text/JavaScript" src="elements_cloning.js"></script>
</head>
<body>
<form>
<table>
<thead>
<tr>
<th>row</th>
<th>text input</th>
<th>select</th>
<th>radios</th>
<th>ckbox</th>
<th><input type="button" onclick="addRow()" value="add row" class="btt" /></th>
</tr>
</thead>
<tbody id="tb">
<tr id="tr1">
<td>1</td>
<td><input type="text" name="text1" /></td>
<td><select name="select1">
<option>-</option>
<option>A</option>
<option>B</option>
<option>C</option>
</select>
</td>
<td><input type="radio" value="yes" name="radios1" id="radio1Yes" />
<label for="radio1Yes">Yes</label>
<input type="radio" value="no" name="radios1" id="radio1No" />
<label for="radio1No">No</label>
</td>
<td><input type="checkbox" name="checkbox1" /></td>
<td><input type="button" value="alert" class="btt" id="idButton1" name="nameButton1" onclick="alert('id: '+this.id+', name: '+this.name)" /></td>
</tr>
</tbody>
</table>
</form>
....
.---------------------------------
come posso fare per:
1-creare un button per eliminare le righe inserite per errore
2-e come fare per salvare i dati di tutte le rghe? che nomi di campi hanno?
e