I was wondering if there was a way of adding numbers to a select determined by a variable.
For example, newnumber = 3; so then populate the select with 3 (including 0)
<select class="element" id="element" name="element">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
Any thoughts?