0

For some reason change event is not triggered after I use.selectmenu in jquery 3.1.1. Here is the jsfiddle

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
    $("select").selectmenu({width:"13em"});
    $('select').change(function(){
        alert($(this).val());
    });
</script>
<select>
  <option value="1">1</option>
  <option value="2">2</option>
  <option value="3">3</option>
</select>

Does anyone know why this is happening and how to avoid it?

flashburn
  • 4,180
  • 7
  • 54
  • 109

0 Answers0