Skip to main content
1 de 3
Gabriel Rodrigues
  • 16,2mil
  • 14
  • 62
  • 124

Podes fazer assim com jQuery:

$("select").change(function() {
  alert($(this).val()); // ou text()
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<select id="s_um" name="s_um">
  <option id="um_1" value="0">0</option>
  <option id="um_2" value="1">1</option>
  <option id="um_3" value="2">2</option>
  <option id="um_4" value="3">3</option>
</select>

<select id="s_dois" name="s_dois">
  <option id="dois_1" value="0">0</option>
  <option id="dois_2" value="1">1</option>
  <option id="dois_3" value="2">2</option>
  <option id="dois_4" value="3">3</option>
</select>

Gabriel Rodrigues
  • 16,2mil
  • 14
  • 62
  • 124