I'm working with Bootstrap 3.3.6 and wanted to use a selector to choose a certain quantity. Problem is that I want the options to go all the way to 99, but I noticed the code is too repetitive making the entire code a bit too much ..
Right now I've got:
<div class="form-group">
<label for="sel1">select quantity: </label>
<select class="form-control" id="sel1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
Do I have to write <option></option>
99 times or is there perhaps an easier and faster way to do this?
Perhaps with angularJS? if so, any ideas how?
Thanks!