I have select box with options 1 to 10 as below .If i select a number then I need to dynamically populate those many input text boxes just below the select box, with each input text box having its label to its left e.g label1, label2 etc.
<form>
<select>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<input type="submit" value="Submit">
</form>
EDIT
If i wrap my select box & submit button inside <form></form>
, then Jquery is creating the input text boxes outside the form.. any work around for this.In such cases, should we still create a placeholder using <div>
Or we should create a placeholder using <tr id=''>
. Thanks
Thanks