I want this javascript to create options from 12 to 100 in a select with id=\"mainSelect\", because I do not want to create all of the option tags manually. Can you give me
See: What is the best way to add options to a select from an array with jQuery?
$('#mySelect') .append($('', { value : key }) .text(value));