Email or username:

Password:

Forgot your password?
Top-level
Jake Archibald

@gundersen as in, the first option in the article, or something even less?

2 comments
Marius Gundersen

@jaffathecake first option, but maybe even without the resetOption(). It's not difficult to clone the option and replace the value manually, is it?

Jake Archibald

@gundersen that's fair. selectedOption.replaceChildren(...select.selectedOptions[0].cloneNode(true).childNodes)

Go Up