Hello
I am have 20 rows showing on a table…
If the user wants more places for inputs I want them to be able to click “Add a User” link that will add more rows…
Any help would greatly appreciated!
I have some code I found but it is only good for one row and they need the option of adding multiple rows.
<script>
function toggle() {
if( document.getElementById(“hidethis”).style.display==’none’ ){
document.getElementById(“hidethis”).style.display = ”;
}else{
document.getElementById(“hidethis”).style.display = ‘none’;
}
}
</script>
<tr><td colspan=”3″ align=”center”><a onClick=”toggle();”>toggle</a></td></tr>
<tr id=”hidethis”><td>Player Name</td><td><input type=”text” name=”player21f”></td><td><input type=”text” name=”player21l”></td></tr>
Appreciate any help I can get!
Thanks!
J