JSFiddle - React, Tailwind, and code Playground

HTML

<select>
    <option>d</option>
    <option>de</option>
    <option>dewe</option>
    <option>dewee</option>
</select>

JavaScript

(function($) {
    //This is the important part
    //Here, we bind to the change event and alert the value
    $('select').change( function(e) {
        alert($(this).val());
    });
})(jQuery)