Menu
help help help,
with this code i can capture events from active window…
window.onunload = Ausgabe;
function Ausgabe()
{
alert(“window closed…”);
}
but how to capture events for new created windows
for example:
mywin = window.open(“test.php”,”F1″,”top=0,left=0,width=150,height=400″);
and now i want to do this
mywin.onunload = unloadfunc;
function unloadfunc()
{
}
but it dont work??? whats the problem???