hi,
see, i popup a page and simply close it immediately:
[code=html]
function doPost() {
var bump = window.open(‘some.html’,”);
bump.close();
return false;
}
which works with no aim.. now i want to do it again with delay which means setTimeout() !!
[code=html]
function doPost() {
var bump = window.open(‘some.html’,”);
setTimeout(“bump.close()”, 3000);
return false;
}
result is [B]Reference to undefined variable : bump
any idea ? tnx
popup page is NOT editable so no onLoad=”” as well…
who the dummy designed that setTimeout() function, idiot JS core developer !!