So I need to create duplicate table rows based on an count that I will pass the webpage. So for example if the count is 3, I need 3 rows below the table headers. Javascript preferable.
The td tags have input tags within them, for the user to make changes and then eventually submit, so if possible I would like unigue ids created for each input tag. Below is what I have.
<div id="container">
<form id='associates'>
<table border="1"><tr>
<th>Assoc Name</th>
<th>Role</th>
<th>Agile Team</th>
<th>Agile Team 2</th>
<th>Agile Team 3</th>
<th>Agile Team 4</th>
<th>Agile Team 5</th></tr>
<tr>
<td ><input id='name' readonly value='Jordan Davis'></td>
<td ><input id='role' readonly value='Business Analyst'></td>
<td > <select id ='team1'>
<option value="1">Option 1 of row 1</option>
<option value="2">Option 2 of row 1</option>
<option value="3">Option 3 of row 1</option>
</select></td>
<td ><select id='team2'>
<option value="1">Option 1 of row 1</option>
<option value="2">Option 2 of row 1</option>
<option value="3">Option 3 of row 1</option>
</select> </td>
<td ><select id='team3'>
<option value="1">Option 1 of row 1</option>
<option value="2">Option 2 of row 1</option>
<option value="3">Option 3 of row 1</option>
</select> </td>
<td ><select id='team4'>
<option value="1">Option 1 of row 1</option>
<option value="2">Option 2 of row 1</option>
<option value="3">Option 3 of row 1</option>
</select> </td>
<td ><select id='team5'>
<option value="1">Option 1 of row 1</option>
<option value="2">Option 2 of row 1</option>
<option value="3">Option 3 of row 1</option>
</select> </td>
</form></div>

javascriptbut contains no javascript ? Maybe it was lost during copy-paste ?