What\'s the easiest way to add an option to a dropdown using jQuery?
option
Will this work?
$(\"#mySelect\").append(\'My
How about this
var numbers = [1, 2, 3, 4, 5]; var option = ''; for (var i=0;i' + numbers[i] + ''; } $('#items').append(option);