S
Sol
Hi,
is it possible to disable an element using CSS? instead of using
document.getElementById("someButton").disabled = true I would like to
use
<style>
..someButton {disabled : true; background : "#D3D3D3"}
</style>
i don't want to use the "visibility : hidden" CSS property because
that hides the element completly.
is it possible to disable an element using CSS? instead of using
document.getElementById("someButton").disabled = true I would like to
use
<style>
..someButton {disabled : true; background : "#D3D3D3"}
</style>
i don't want to use the "visibility : hidden" CSS property because
that hides the element completly.