I have an event :
$(document).on('change', '.many-checkbox', function() {
doSomething()
});
doSomething() is kinda heavy, so checkbox with class many-checkbox will have a delay before they actually being checked/uncheck.
I want to remove those delays.
So, how do we check/uncheck it before doSomething() is done ?.
thanks.
doSomething.$(this).prop('checked', $(this).prop('checked'));does NOTHING but adds delay.doSomething, that's why i want to bypass it. So, make the checkbox checked/uncheck manually even beforedoSomethingis done.