boostrap 4 element disable code example
Example: disable whole div bootstrap 4
$("#mydiv").addClass("disabledbutton");
.disabledbutton {
pointer-events: none;
opacity: 0.4;
}
$("#mydiv").addClass("disabledbutton");
.disabledbutton {
pointer-events: none;
opacity: 0.4;
}