我有一個表,我想添加一個新行。這可以做到2-3行JQuery
和cross-browser
?使用跨瀏覽器向表中添加新行JQuery
下面是現場代碼:https://jsfiddle.net/nwqmvo36/7/
<tr>
<td><input type="checkbox" class="selectall" /></td>
<td data-title="Product" contenteditable="true">--</td>
<td data-title="Variation 1" contenteditable="true">--</td>
<td data-title="Variation 2" contenteditable="true">--</td>
<td data-title="Variation 3" contenteditable="true">--</td>
<td data-title="Variation 4" contenteditable="true">--</td>
<td data-title="Quantity" contenteditable="true">--</td>
<td data-title="Price" class="class" contenteditable="true">--</td>
</tr>
你可以嘗試像[這裏](http://stackoverflow.com/questions/7317714/clone- or-copy-of-existing-crystal-reports) –