/ Published in: JavaScript
![](/img/icon_sav.png?v3)
I hate manually entering in tons of numbers and tags for numbers, so I made a loop for it.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var i = $('#age').size(); var age = 18; for (i = 0; i < 82; i++) { $('#age').append('<option>' + age + '</option>'); age++ }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)