You add a function to the parent, call the parent function whose scope is parent window... which should work.
ccppjava
2010-05-24 10:26:55
You add a function to the parent, call the parent function whose scope is parent window... which should work.
"Same origin policy" disallows writing to a different window/iframe document, especially from a different origin (domain). I'm not sure if it is allowed if both pages are from the same domain, but you could try accessing window.parent
/ window.top
. It may also be rejected by same origin, but give it a try.