here is my select element:
function retrieveProjects() {
    var returnValue = "";
    // some code...
    if (result.Passed) {
        var options = "";
        for (var a = 0; a < result.Projects.length; a++){
            options += "<option value=\"" + result.Projects[a].Id + "\">" + result.Projects[a].PRJ_Name + "</option>";
        }
        returnValue = options;
        debugger;
    }
});
return returnValue;
}
$("#ddmoduleid").empty().append(retrieveProjects());
My itembox filled fine. but it seems empty first load when I click all items listed. I want first element become selected on list
Can you help me
 
     
     
     
    