onload event for child window

N

ng

function w1open(){
alert("window loaded");
}
function wackOpen(){
var
my_window1=window.open('http://www.yahoo.com','','left=700,top=700','dependent=yes');

my_window1.onload=w1open;
}
wackOpen();


1. onload event is never captured..or by the time its get set the page
is loaded.
2. I am getting security issues if i use
my_window1.document.readyState.
3. Is there not way to check whether childwindow is loaded or not.
I have been through many threads in this group but none have a
solution. please help me out
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top