I'm looking for a way to make a layer (<div></div) disappear and visible by clicking on a checkbox. Unfortunately I always can execute 1 of them either 'visible' or 'none' work but not both of them. I used the script below 'onclick'
function CheckBoxes()
{
if(document.PrintManagerForm.Location.checked == true)
{testlayer.style.display = "''";}
else
{testlayer.style.display = "none";}
}
Did somebody run into the same problem
function CheckBoxes()
{
if(document.PrintManagerForm.Location.checked == true)
{testlayer.style.display = "''";}
else
{testlayer.style.display = "none";}
}
Did somebody run into the same problem