82
rated 0 times
[
87]
[
5]
/ answers: 1 / hits: 45851
/ 7 Years ago, wed, july 12, 2017, 12:00:00
Hello I need to call a function after one of the options is selected.
which is the best way to do it? im using angular4.
modo(){
// if modo 1 is selected do something.
// if modo 2 is selected do something.
// if modo 3 is selected do something.
}
<label>Modo :</label>
<select id=selectid class=form-control-mb-12>
<option value=mod1>MODO 1</option>
<option value=mod2>MODO 2</option>
<option value=mod3>MODO 3</option>
</select>
More From » angular