ironhide1975
Programmer
How can I write this javascript to pass the variables to the javascript instead of having to keep seperate items.
Code:
<script>
function AskParentToHideMe()
{
if (typeof(parent.hideIFrame)=='function') parent.hideIFrame();
}
</script>
<script>
function hideIFrame()
{
document.getElementById("links").style.display = "none";
}
</script>
<script>
function hideIFrame2()
{
document.getElementById("Addresses").style.display = "none";
}
</script>