I have the following problem:
I open an url in an iframe:
<iframe src="" name="framenamex" id="idframex"
<a href="urlsamedomainx" target="framenamex"...
but then when I want to hide the iframe from within the iframe:
javascript:parent.document.getElementById('idframex').style.visibility='hidden'
nothing happens, it seems like the iframe has no parent because when I call the parent.location
or window.top.location
I get nothing
please help. thanks in advance.