1
I have a select in html, and I want it to run a function when the user chooses any option. I appreciate the help.
<select id="frmOperadora0" name="frmOperadora">
<option value="0">-----</option>
<option value="VV">Vivo</option>
<option value="CL">Claro</option>
<option value="TM">Tim</option>
<option value="OI">Oi</option>
<option value="NX">Nextel</option>
<option value="AL">Algar</option>
<option value="SE">Sercomtel</option>
<option value="MV">MVNO's </option>
</select>
https://developer.mozilla.org/en-US/docs/Web/API/Element/addEventListener you can add a "change" event to that element.
– SylvioT