, .
Your script only works in the context of this iframe. If you try, for example,
var loc = document.location;
You will see what I mean.
One solution is that when you give the other side your iframe, you should add a script to the fact that you can do whatever you want, because it works on your domain. Maybe dynamically create the source of your iframe and stuff.
arpad source
share