JSFiddle - React, Tailwind, and code Playground
HTML
<form>
<select name="opt">
<option value="Select" selected disabled>Select</option>
<option value="op1">Option 1</option>
<option value="op2">Option 2</option>
</select>
<input type="reset" value="reset" />
</form>
JavaScript
$('select').on('change', function ()
{
alert('asd');
$(".answerType").hide();
selected = $(this).find("option:selected").val();
//roundTypeChange(selected);
});
$('input[type="reset"]').click(function() {
$("select").trigger('change');
});