<!doctype html>
<select></select>
<script>
var select = document.getElementsByTagName("select")[0];
var newOpt = document.createElement("option");
select.add(newOpt, newOpt);
</script>