Accessing the top DOM from an iframe
I'm trying to change the display of a div in the top document according from within an iframe.
I thought top.document.getElementById('this').style.display = 'none' would do the trick, but I get a 'Permission Denied' error.
How do I access and manipulate the DOM from within an iframe?
I trawled through some stuff I did a few years back and found the solution to this problem...
myfunction() can then access the DOM from within its own page.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)