jQuery 3.4.1, HTML, CSS, JavaScript
No-Library (pure JS), HTML, CSS, JavaScript
jQuery 3.4.1, HTML, SCSS, JavaScript
This demonstrates that 'option:selected' and 'option[selected]' are not the same.
No-Library (pure JS), HTML, CSS, JavaScript 1.7