Files
serenity/Tests/LibWeb/Ref/options-set-index.html
Colin Reeder 8908038f96 LibWeb: Add support for indexed setter of HTMLOptionsCollection
(cherry picked from commit 99824eae142b02c7bce84b9e98d10fc6428f31fe)
2024-07-21 11:29:07 -04:00

8 lines
235 B
HTML

<link rel="match" href="reference/options-set-index.html" />
<select id="select"></select>
<script>
const select = document.getElementById("select");
select.options[0] = new Option("text");
select.value = "text";
</script>