What\'s the easiest way to add an option to a dropdown using jQuery?
option
Will this work?
$(\"#mySelect\").append(\'My
if u have optgroup inside select, u got error in DOM.
I think a best way:
$("#select option:last").after($('my option'));