S
squirrelradio
Hi All,
I have an iframe src with an html page in it. My goal is to use
javascript from the current page to access and change a value of an
internal element from the other html page that is called within the
iframe. Is this possible? I keep searching for answers but with no
luck.
The closest I can get is to find the iframe's src, id, elements using:
myFrame = document.getElementsByTagName('iframe');
alert(myFrame[0].id);
But I can't dig down into the html, I've tried using innerHTML but that
doesn't give me the html page called into the frame.
Thanks in advance for any help.
I have an iframe src with an html page in it. My goal is to use
javascript from the current page to access and change a value of an
internal element from the other html page that is called within the
iframe. Is this possible? I keep searching for answers but with no
luck.
The closest I can get is to find the iframe's src, id, elements using:
myFrame = document.getElementsByTagName('iframe');
alert(myFrame[0].id);
But I can't dig down into the html, I've tried using innerHTML but that
doesn't give me the html page called into the frame.
Thanks in advance for any help.