Bonsoir et bonne année !
J'ai un souci don je ne trouve pas la cause.
J'ai une page qui contient une Iframe, qui contient elle même une Iframe.
Le but est d'accéder au body de la 2ème Iframe.
Ceci ne fonctionne pas :
Merci pour votre aide !Code:
1
2
3
4
5
6 iframeParent= document.getElementById('A3').contentWindow.document.body; iframeFils=iframeParent.getElementById('A89').contentWindow.document.body; alert(iframeFils..innerHTML);