<!DOCTYPE html>
<body onload="document.forms.f.s.options.length = 0;">
<form name="f">
<select name="s">
<option name="o1">option 1</option>
<option name="o2">option 2</option>
</select>
</form>
</body>