0
Div enable and disabled
I have made div disabled by click on div with pointer-event: none; But when I am taking it back to normal by click on button it's not coming to initial position. Please help?
1 Réponse
+ 14
Is your button inside the disabled div?
If it is, then it won't work. Place it outside.
Another solution is to use removeEventListener instead of the CSS property.