Email or username:

Password:

Forgot your password?
Top-level
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?

1 comment
Jake Archibald

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

Go Up