jquery dynamically adds option
js dynamically add option
var sel= document.getElementById("Selected1");
sel.options.add(new Option("Please select",""));
sel.options.add(new Option("name","id"));
jquery dynamically adds option
$("#selectId").append("< ;option value='" value "'>" text "");
jquery removes all options
$("#selectedId option").remove() ;