JS Obtenga la configuración desplegable
let element = document.querySelector('select');
element.value; // returns '1' as that’s currently selected
element.value = '2';
Quaint Quelea