What\'s the easiest way to add an option to a dropdown using jQuery?
option
Will this work?
$(\"#mySelect\").append(\'My
There are two ways. You can use either of these two.
First:
$('#waterTransportationFrom').append('Select From Dropdown List');
Second:
$.each(dataCollecton, function(val, text) { options.append($('').val(text.route).html(text.route)); });