🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9396

DHTML IE5 : PB d'acc�s aux informations d'une autre frame

#9396
From: Bartoch
Date: Sat, 31 Mar 2001 13:01
30 lines
2057 bytes
Bonjour,

Je n'arrive pas � acc�der de mani�re stable et fiable aux informations d'une
autre frame (�l�ments input, ou variables javascript). J'ai utilis�
plusieurs techniques (d�crites plus bas), mais celles-ci semblent
fonctionner al�atoirement (tant�t oui, tant�t non ==> undefined ou null).

Je ne comprends pas! Est-ce un bug, fais-je des mauvaises manipulations ?
Quelqu'un a t-il d�j� �t� confront� au probl�me ?

Merci de votre aide !

acc�s aux �l�ments input d'une autre frame :
- parent.frames[0].document.forms[0].NOMELEMENT.value
- top.frames[0].document.forms[0].NOMELEMENT.value
- parent.frames["NOMFRAME"].document.forms[0].NOMELEMENT.value
- parent.NOMFRAME.document.forms[0].NOMELEMENT.value
- parent.frames["NOMFRAME"].document.forms["NOMFORM"].NOMELEMENT.value
etc ...

acc�s aux variables globales d'une autre frame :
- parent.frames["NOMFRAME"].NOMVARIABLE
- top.frames["NOMFRAME"].NOMVARIABLE
- parent.NOMFRAME.NOMVARIABLE
- top.NOMFRAME.NOMVARIABLE

d�clenchement d'une fonction d'une autre frame :
- parent.frames["NOMFRAME"].fonction()
- parent.NOMFRAME.IDSCRIPT.fonction()
etc ...
Technical Details
Message-ID: <9a4ke0$2al3$1@news5.isdnet.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!isdnethub!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,b7d43a0ceb6cbcf9,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-03-31 05:04:01 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!isdnethub!not-for-mail
From: "Bartoch" <alain.barthelemy@m6net.fr>
Newsgroups: fr.comp.text.xml
Subject: DHTML IE5 : PB d'acc�s aux informations d'une autre frame
Date: Sat, 31 Mar 2001 15:01:01 +0200
Lines: 34
Message-ID: <9a4ke0$2al3$1@news5.isdnet.net>
NNTP-Posting-Host: ppp13-stgermain.internet-telecom.net
X-Trace: news5.isdnet.net 986043648 76451 213.195.12.13 (31 Mar 2001 13:00:48 GMT)
X-Complaints-To: abuse@isdnet.net
NNTP-Posting-Date: 31 Mar 2001 13:00:48 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200