mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
14 lines
274 B
HTML
14 lines
274 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<script>
|
|
var sel = document.createElement("select");
|
|
sel.appendChild(new Option(1));
|
|
var opt = new Option(2);
|
|
opt.setAttribute("selected", "selected");
|
|
sel.appendChild(opt);
|
|
document.body.appendChild(sel);
|
|
</script>
|
|
</body>
|
|
</html>
|