Open pgayeski opened 8 years ago
You can add the following at the end of the javascript file (after the events code):
$('.dropdown-menu > li:first-child > input[type="checkbox"], .dropdown-menu > li:first-child > input[type="radio"]').trigger('change' + namespace);
It will trigger a "change" once for each dropdown which will then show the selected options on page load.
Not able to get the change event triggered. Could you please post the code or update the existing?
Not sure what the trick is -- how do you get it to load the select list with existing checked input?