I have a bit of a "chicken or the egg" dilema I think...
I open a new window and I want a <SELECT> object (named "newList") to be populated with values from a like <SELECT> object in the parent page.
<body onload="initialize(this.form)">; (in the newly created window) doesn't work. I get a message that "newList is null or is not an object."
I think that at the point the initialize(this.form) function is triggered, the form containing the <SELECT> object hasn't been loaded / built yet - or at least the <SELECT> object itself does not yet exist.
I open a new window and I want a <SELECT> object (named "newList") to be populated with values from a like <SELECT> object in the parent page.
<body onload="initialize(this.form)">; (in the newly created window) doesn't work. I get a message that "newList is null or is not an object."
I think that at the point the initialize(this.form) function is triggered, the form containing the <SELECT> object hasn't been loaded / built yet - or at least the <SELECT> object itself does not yet exist.
Comment