185
rated 0 times
[
189]
[
4]
/ answers: 1 / hits: 63041
/ 8 Years ago, wed, november 2, 2016, 12:00:00
How can I remove the background-color and opacity property using Javascript only (no Jquery!).
I tried this:
document.getElementById('darkOverlay').style.removeProperty(background-color);
document.getElementById('darkOverlay').style.removeProperty(opacity);
but it did not work.
More From » html