I have problems with Iframes
in Chrome
. I have 3 Iframes in a page. I am trying to access elements of one Iframe from another.
I am using with this code:
navFrame = window.parent.frames[0];
lnkTags = navFrame.document.getElementsByTagName('a');
I am getting the following error: Cannot call method 'getElementsByTagName'
of undefined
I read in forums that window.parent
will not work in chrome. Is it possible to do this differently.