$('#selectclassid').trigger("change");
$('#selectclassid').on('change', function() {
});
I have this format for my onchange
manual trigger of on change but the problem is it is not firing. I am wondering because this is the format I see in tutorials. Could there be anything wrong in the format of on change. I am hoping that it will fire on change when the page is loaded. By the way this select option is in a div that is hidden on load.But will show on button click if this event is related to the problem. Any idea is appreciated