This works no problem on Firefox, but do I need to do something to get it to work in IE. It only hides the <span> item, but doesn't get rid of the border and background color.
JAVASCRIPT:
SPAN
DIV
JAVASCRIPT:
Code:
function hideBox(id){
document.getElementById(id).style.backgroundColor = "";
document.getElementById(id).style.border = "none";
document.getElementById("hider").style.display = "none";
}
SPAN
Code:
<span id="hider" class="noprint"> - <a onclick="hideBox('downtown');" class="jsLink">hide highlight box</a></span>
DIV
Code:
<div id="downtown" style="float:left; padding: 5px; border:1px solid #CDCF00; background-color:#FEFFBF;" class="address">