Basically, I\'m trying to make a link that, when pressed, will hide the current body div tag and show another one in its place, unfortunately, when I click the link, the fir
Use the following code:
function hide { document.getElementById('div').style.display = "none"; } function show { document.getElementById('div').style.display = "block"; }