R
Rick Brandt
I am using some buttons to hide/show various divs and am changing the style of
the button to indicate which button's view is "active".
My problem is that for the non-active buttons I want the default look. Once I
change a button's style to something else what is the style setting to revert
them back to this default?
EX:
Button starts at default.
Upon press set different background
document.getElementById("btnName").style.background = "someColor"
What command changes it back? I've tried "" and that seems to work (you guessed
it) in FF, but not in IE. I also tried ThreeDFace with the same effect (good in
FF, bad in IE).
TIA
the button to indicate which button's view is "active".
My problem is that for the non-active buttons I want the default look. Once I
change a button's style to something else what is the style setting to revert
them back to this default?
EX:
Button starts at default.
Upon press set different background
document.getElementById("btnName").style.background = "someColor"
What command changes it back? I've tried "" and that seems to work (you guessed
it) in FF, but not in IE. I also tried ThreeDFace with the same effect (good in
FF, bad in IE).
TIA