Click to See Complete Forum and Search --> : Calling a JavaScript from a pop up window


rjanson
07-28-2003, 11:38 PM
Hi,

I often call up external Javascript files from HTML pages from within the <head> tags.

When I try to ".document.writeln " into the <head> tags of a pop-up window the script doesn't run (IE) or isn't written into the <head> tags (Netscape). But the script runs fine when called from a normal <HTML> file as opposed to a pop-up window.
Am I missing something obvious - any suggestions are welcome? Thanks Richard

Khalid Ali
07-29-2003, 01:00 AM
if you are saying that you have a function in the parent page and you wnat to call it from a child window?..

Here is the what you do

top.opener.function()....