C
Cenekemoi
Hi,
excuse me in advance for my poor english...
Do you know how solve my problem ?
I have "Page1.htm" :
<HTML><BODY>
<A href="Page2.htm" target=TOTO>window TOTO</A>
</BODY></HTML>
and I have "Page2.htm" :
<HTML><HEAD>
<SCRIPT>
function affName(i) { alert( i +" - "+ window.name ); }
affName(1);
window.name = "TITI";
affName(2);
</SCRIPT>
</HEAD><BODY onload="affName(3);">
<A href="javascript:affName(4)">window.name ?</A>
</BODY></HTML>
When I click on "fenetre TOTO" link of "Page1", a window is opened (OK)
and we have alerts :
1 - TOTO
2 - TITI
3 - TITI
All is right : "window.name" is changed from TOTO to TITI.
My problem is when I click on the "window.name ?" link of "Page2".
With NS 7, NS4+, we have :
4 - TITI ==> OK
With IE, we have :
4 - TOTO ==> Why ?
Any help would be highly appreciated.
Thank you very much in advance.
excuse me in advance for my poor english...
Do you know how solve my problem ?
I have "Page1.htm" :
<HTML><BODY>
<A href="Page2.htm" target=TOTO>window TOTO</A>
</BODY></HTML>
and I have "Page2.htm" :
<HTML><HEAD>
<SCRIPT>
function affName(i) { alert( i +" - "+ window.name ); }
affName(1);
window.name = "TITI";
affName(2);
</SCRIPT>
</HEAD><BODY onload="affName(3);">
<A href="javascript:affName(4)">window.name ?</A>
</BODY></HTML>
When I click on "fenetre TOTO" link of "Page1", a window is opened (OK)
and we have alerts :
1 - TOTO
2 - TITI
3 - TITI
All is right : "window.name" is changed from TOTO to TITI.
My problem is when I click on the "window.name ?" link of "Page2".
With NS 7, NS4+, we have :
4 - TITI ==> OK
With IE, we have :
4 - TOTO ==> Why ?
Any help would be highly appreciated.
Thank you very much in advance.