I have the following code to open a popup window and pass a value.
In the main html page:
var w = window.open("po pup.htm","","wi dth=510,height= 450");
w.itemIndex = 100; // alert(w.itemInd ex) will show 100
The popup window will be openned. However,
in the popup.htm, javascript code
alert(this.item Index) shows 'undefined', while it shows right value (100 in
this example) in Firefox, IE.
How to pass value when using Safari?
Thanks.
In the main html page:
var w = window.open("po pup.htm","","wi dth=510,height= 450");
w.itemIndex = 100; // alert(w.itemInd ex) will show 100
The popup window will be openned. However,
in the popup.htm, javascript code
alert(this.item Index) shows 'undefined', while it shows right value (100 in
this example) in Firefox, IE.
How to pass value when using Safari?
Thanks.
Comment