I'm looking for a way to add additional rows to a table based on the value selected from a dropdown list or slider..
Taking this as a very basic table :
<html>
<head>
<title></title>
</head>
<body>
<table border="1">
<thead><tr>
<th>Name</th>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<th>E</th>
<th>F</th>
</tr>
</thead><tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td><input type="checkbox"></td>
</tr>
</tbody>
</table>
<br>
</body>
</html>
I'd like to add a dropdown or slider that allows the user to increase or decrease the number of rows visible and that they can complete. Then when the form is submitted all values would be submitted as normal. Any idea how I can do that?
I'd also like to use a check box in the last column to allow the user to duplicate all the values except the name from the first row to any row that they check.. is that possible? Especially if they update row one would the others update?
Pointers or links gratefully received :)