Menu
I am trying to hide a span by clicking a button. I want the span to become visible (which it does fine), then, by clickign a button, it hides it again…however, nothing happens when i click the button, no code, and the span is still visible. here is my code:
[code]
function BlurPartSearch()
{
document.getElementById(“spanPartNumAjax2”).style.display == ‘none’;
}
the span is this:
<span id=”spanPartNumAjax2″></span>
thanks!