JSFiddle - React, Tailwind, and code Playground

HTML

<select id="try" ><option>a</option><option>b</option></select>
<button id='click'>Click</button>

JavaScript

$("#try").change(function(event) {console.log(event,event.target,event.currentTarget,event.srcElement)
    if (event.currentTarget=== event.srcElement) {
        alert(' human')
    } else {
        alert(' not human');
    }


});

$('#click').click(function(event) {
    $("#try").change();
});