1
I have this selectpicker code(bootstrap)
<select name="nivel_p" class="selectpicker">
<option>menor que 6</option>
<option>7-15</option>
<option>16-40</option>
<option>maior que 40</option>
</select>
I need to fire a command every time the select selection is changed,but I have no idea how it does I thought of something like:
$('select[name=nivel_p]').selectpicker(function() {
}
But it didn’t work,?