Ciao a tutti,
vorrei sapere se è possibile leggere il testo all'interno di un iframe. Ho provato in svariati modi usando il DOM ma con risultati negativi. In particolare
...ma non riesco nonostante abbia fattoCodice PHP:document.getElementById("iframe")
Vi posto anche il codice dell'iframeCodice PHP:var iframe = document.getElementById("iframe");
iframe.contentWindow.document.body.innerHtml;
Grazie per le vostre eventuali risposte.Codice PHP:<iframe src="www.miosito.it" id="iframe" name='iframe' frameborder='0' width='180' height='180'></iframe>

Rispondi quotando