M
Mike S
I have a page that contains an iframe which loads a page from a
different domain that I do not control. The iframe includes the
following select:
<select name="promo">
<OPTION value="NONE" selected>NONE</OPTION>
<OPTION value="AAA">AAA</OPTION>
</select>
I would like to be able to select AAA using javascript on the parent
page. I can work with the people who maintain the site that hosts the
page loaded into the iframe, so I'm wondering if there is some way that
they cold modify their page that would allow me to execute javascript on
it from my parent page? Would including window.domain="mydomain.ext" in
the iframe page, where mydomain.ext is the domain hosting the parent
page, allow me to access the iframe DOM with javascript?
TIA,
Mike
different domain that I do not control. The iframe includes the
following select:
<select name="promo">
<OPTION value="NONE" selected>NONE</OPTION>
<OPTION value="AAA">AAA</OPTION>
</select>
I would like to be able to select AAA using javascript on the parent
page. I can work with the people who maintain the site that hosts the
page loaded into the iframe, so I'm wondering if there is some way that
they cold modify their page that would allow me to execute javascript on
it from my parent page? Would including window.domain="mydomain.ext" in
the iframe page, where mydomain.ext is the domain hosting the parent
page, allow me to access the iframe DOM with javascript?
TIA,
Mike