How do I get JS to change a <div> 's visibility,
I have:
<div id="main" style="visibility: show">
but I want a link like this
<a href="#" onclick="switchMain()">Change</a>
and clicking on that link will hide or show the layer.
I tried
but it doesnt work ? ?
