What\'s the easiest way to add an option to a dropdown using jQuery?
option
Will this work?
$(\"#mySelect\").append(\'My
You can append and set the Value attribute with text:
$("#id").append($('').attr("value", '').text('')); $("#id").append($('').attr("value", '4').text('Financial Institutions'));