[eluser]Beginers[/eluser]
Hi people how do i get the value of my clone form elements and its value of the same name?
here is my code:
Code:
<tbody>
<tr class="tbl-border" id="prev">
<td align="center"><input type="text" name="part" id="part" /></td>
<td align="center"><input type="text" name="qty" id="qty" /></td>
<td align="center"><input type="text" name="serial" id="serial" /></td>
<td align="center"><input type="text" name="repair" id="repair" /></td>
<td align="center"><input type="text" name="note" id="note" /></td>
</tr>
</tbody>
jquery
Code:
$('a[name=modal]').click(function(e) {
var cloned = $("#prev").clone();
cloned.insertAfter("table > tbody.tbody > tr:last").hide().fadeIn(1000);