I have the following code:
var w=window.open(' popup.htm','',' width=400,heigh t=400');
w.opener = this;
var img = w.document.getE lementById('pic ');
However, the img variable is always null in Mozilla Firefox. But it works
well in IE.
What's teh proper way to access DOM in the popuped window?
var w=window.open(' popup.htm','',' width=400,heigh t=400');
w.opener = this;
var img = w.document.getE lementById('pic ');
However, the img variable is always null in Mozilla Firefox. But it works
well in IE.
What's teh proper way to access DOM in the popuped window?
Comment