Hacker News new | ask | show | jobs
by largehotcoffee 441 days ago
Why would this be preferred over creating a new HTML element, like <options>?
1 comments

Backwards compatibility. Older browsers will still be able to render the <select> and submit it as part of a form, just with its options unstyled.