With Javascript it is possible to stop propagation with code? E.g.
function func1(event) {
alert("DIV 1");
if (document.getElementById("check").checked) {
event.stopPropagation();
}
}
Is it also possible to stop propagation by CSS?
You can use this CSS simple code:
.disabled-button{
pointer-events: none;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With