Modifica src su Frame in Chrome

HolidaySoft.it

Utente Attivo
16 Ott 2012
105
0
0
Milano
www.holidaysoft.it
Ciao a tutti,
qualcuno riesce ad indicarmi come azzerare l'attributo src di un frame in Chrome?

La seguente riga funziona su Firefox/IE ma non in Chrome:

Codice:
document.getElementById('hiddenframe_menu').src="";


Grazie
Mik
 
a me funziona anche con Chrome
HTML:
<iframe id="hiddenframe_menu" src="https://www.mrw.it" width="680"  height="500" frameborder="1"></iframe>
        <script type="text/javascript">
            document.getElementById('hiddenframe_menu').src="";
        </script>
 
a me funziona anche con Chrome
HTML:
<iframe id="hiddenframe_menu" src="https://www.mrw.it" width="680"  height="500" frameborder="1"></iframe>
        <script type="text/javascript">
            document.getElementById('hiddenframe_menu').src="";
        </script>

Purtroppo non agisce sul valore di
document.getElementById('hiddenframe_menu').contentWindow.location.href

anche dopo aver modificato l'attributo "src"

aiuto!

Ciao
Mik
 

Discussioni simili