A memo on how to trigger onChange events with the jQuery library “Minimalect” that displays form select elements beautifully.
$('#js-target-select').minimalect({
onchange: function() {
$('#js-target-select').trigger('change');
}
});
$('#js-target-select').change(function(){
// do onchange event
});
As shown above, you can trigger the select’s onChange by firing it in Minimalect’s onchange.
・jQuery Minimalectのonchange - プログラミングメモ
That’s all from the Gemba.