JSFiddle - React, Tailwind, and code Playground
by Alex
HTML
<input id="test" value="0">
JavaScript
$('#test').bind('change', function(){ alert('change'); });
$('#test').val('5').trigger('change');
by Alex
<input id="test" value="0">
$('#test').bind('change', function(){ alert('change'); });
$('#test').val('5').trigger('change');