<html>
<select onchange='document.getElementById("myButton1").value="Close Curtain";' onfocus="this.selectedIndex = -1;">
<option>A</option>
<option>B</option>
<option>C</option>
</select>
<input onclick="change()" type="button" value="Open Curtain" id="myButton1"></input>
</html>