JSFiddle - React, Tailwind, and code Playground

HTML

<select id="selExercicio"><option value="0">0</option><option value="1" selected>1</option><option value="2" >2</option></select>

JavaScript

$("#selExercicio option:contains('0')").prop("selected", true);

$("#selExercicio").trigger("change");

$("#selExercicio").change(function () {
    debugger;
    alert('Mudou');
});