I am new to jQuery and Javascript. I have to create select->option drop down control with client side jQuery/Javascripting. These drop downs are having their options from ar
This will create the drop downs on the fly:
function getDropDownList(name, id, optionList) { var combo = $("").attr("id", id).attr("name", name); $.each(optionList, function (i, el) { combo.append("" + el + ""); }); return combo; // OR $("#SELECTOR").append(combo); }