IdentityCrisis
03-22-2005, 09:38 PM
Ok, example.
<table>
<tr><td>
1.
</td><td>
Sample 1
</td></tr>
<tr><td>
2.
</td><td>
Sample 2
</td></tr>
<tr><td colspan="2" align="right">
<a href="#" onClick="insertNewRow(); return false;">Click to add a new row</a>
</td></tr>
</table>
I'd like to be able to click the link and insert a table row right above it (after # 2).
Any suggestions? I've been reading some stuff about Nodes, would this apply??
Thanks
IC
<table>
<tr><td>
1.
</td><td>
Sample 1
</td></tr>
<tr><td>
2.
</td><td>
Sample 2
</td></tr>
<tr><td colspan="2" align="right">
<a href="#" onClick="insertNewRow(); return false;">Click to add a new row</a>
</td></tr>
</table>
I'd like to be able to click the link and insert a table row right above it (after # 2).
Any suggestions? I've been reading some stuff about Nodes, would this apply??
Thanks
IC