Answers for "does any event get triggered when checked value changes programatically?"

0

does any event get triggered when checked value changes programatically?

var event = document.createEvent("HTMLEvents");
event.initEvent('change', false, true);
checkbox.dispatchEvent(event);
Posted by: Guest on September-14-2020

Code answers related to "does any event get triggered when checked value changes programatically?"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language