/*make sure that value is included in the options value of the dropdownlist e.g. (<select><option value='CA'>California</option><option value='AK'>Alaska</option> </select>) */ $('#mycontrolId').val(myvalue).attr("selected", "selected");