I need disable a div depending of a variable razor. I tried a css class but not working because it is very simple disable with developer tools. there is a safe method to perform this task.? I use ASP.NET MVC 4.0
.disableddiv {
pointer-events: none;
opacity: 0.4;
}
regards