<!DOCTYPE html> <body onload="document.forms.f.s.options[0].text = 'ok';"> <form name="f"> <select name="s"> <option name="o1">-</option> </select> </form> </body>