window.open

wxdqz

New Member
Hi all,

I have the following Javascript code,

function search_window_dist_name(){
window.open("../servlet/Controller","child1","scrollbars,,width=500,height=400");
alert('window closed');
}

I need the alert to be invoked only after the child window "child1" is closed.

But it is not happening so, as and when the child window is opened the alert window is also opening.

Kindly help me out to solve this problem

sridevi s
 
Back
Top