What\'s the easiest way to add an option to a dropdown using jQuery?
option
Will this work?
$(\"#mySelect\").append(\'My
for whatever reason doing $("#myselect").append(new Option("text", "text")); isn't working for me in IE7+
$("#myselect").append(new Option("text", "text"));
I had to use $("#myselect").html("text");
$("#myselect").html("text");