![]() Topic awaiting preservation: Where'd my data go (Page 1 of 1) |
|
|---|---|
|
Nervous Wreck (II) Inmate From: beyond the looking glass |
posted 03-13-2006 19:21
I'm using this code to popup a window and place the values of the object and layer variables in the new window. this works, somewhat, but when I get the warning about active content and click to allow said active content, the values in the input fields dissapear code: function fSelectColor(object,layer) {
picker=open("test.html","Crayola",'resizable=no,width=200,height=450');
if (picker.opener == null) picker.opener = self;
picker.document.getElementById("object").value=object;
picker.document.getElementById("layer").value=layer;
}
|
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 03-14-2006 08:00
That's becaus the dynamic side reloads. |
|
Nervous Wreck (II) Inmate From: beyond the looking glass |
posted 03-16-2006 07:10
code: function getData(object,layer) {
document.getElementById("object").value = object;
document.getElementById("layer").value = layer;
}
<body onLoad = getData(opener.document.getElementById("object").value,opener.document.getElementById("layer").value);>
|