blob: 841cf8b6d844d2b2713584996a9c930663d39a36 (
plain)
1
2
3
4
5
6
7
|
<!doctype html>
<select></select>
<script>
var select = document.getElementsByTagName("select")[0];
var newOpt = document.createElement("option");
select.add(newOpt, newOpt);
</script>
|