You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to toggle all input checkbox on the page when a particular checkbox with a different class/id is clicked
Here is a function i call when DOM is ready, I want to disable/enable all checkbox on click of an element
function activateSwitchery() {
var elems = Array.prototype.slice.call(document.querySelectorAll('input.state_toggle'));
elems.forEach(function(html) {
var switchery = new Switchery(html, {className:"switchery switchery-small"});
});
}
The text was updated successfully, but these errors were encountered:
I want to toggle all input checkbox on the page when a particular checkbox with a different class/id is clicked
Here is a function i call when DOM is ready, I want to disable/enable all checkbox on click of an element
The text was updated successfully, but these errors were encountered: