Almost, but that code is to set the value of a particular option in the drop down menu. What I want is to set a new option as the value of the drop down menu, and the value must is not one of the option of the drop down menu.
I hope the code below helps me explain what I want.
<select name="cssFile" id="cssfile">
document.form1.cssFile.value = file4;