N
Nick
I've a main html file which will pop up a window with a image. In the
main Window, I have the following code:
w = window.open('popup.html')
alert(w.document.images.length)
And the alert shows 0.
However, there is a image in the popup window and an
alert(document.images.length) in the popup html file shows 1.
Any suggestion?
main Window, I have the following code:
w = window.open('popup.html')
alert(w.document.images.length)
And the alert shows 0.
However, there is a image in the popup window and an
alert(document.images.length) in the popup html file shows 1.
Any suggestion?