ayumee
2/23/2017 - 9:30 PM

Get selectbox value with jQuery

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

<select>
    <option value="1">One</option>
    <option value="2">Two</option>
</select>
$('select').on('change', function() {
  console.log( this.value );
})