Well, I have the following problem:
I need to select the value of a select
in html
to execute a loop if
in javascript
or jquery
, how to do?
<select class="input">
<option default disabled="disabled">--</option>
<option value="">TESTE1</option>
<option value="">TESTE2</option>
<option value="">TESTE3</option>
</select>
In this case, the value of select
, when it is different from the first option, this first option given as default
will be excluded from html