<script type="text/javascript">
function ad(v1) {
x = document.getElementById(v1);
v = "";
if (v1=='r2')v='<input name=id2><input name=name2>';
if (v1=='r3')v='<input name=id3><input name=name3>';
if (v1=='r4')v='<input name=id4><input name=name4>';
x.innerHTML =v;
}
</script>
<body><form action=''><table>
<tr><td><input name=id1><input name=name1>
<tr><td><div id='r2'></div>
<a href='javascript:;' onclick='ad("r2")'>+</a>
<tr><td><div id='r3'></div>
<a href='javascript:ad("r3");'>+</a>
<tr><td><div id='r4'></div>
<a href='javascript:;' onmouseover='ad("r4");'>+</a>
</table><input type=submit></form>
</body>
|