Jump to content

Allowing Frame Access


porzant

Recommended Posts

In my iframe, I'm trying to get an element from the top document, using:top.document.getElementById("....")I keep getting an error message: Access Denied from .....I'm sure I've seen a way before to allow access from a particular thing, does anyone know how?Think I want something like:if(document.domain=="domain"){// allow access}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...