nothing wrong with window.close(), but how did you open it, check how rolia opens its pop-up window or try

rootbear (喝点啤酒晕晕头)
[a href="javascript:popup('test.htm')"]pop[/a]

[script]
function popup(url) {
window.open(url,'popupwindow');
}
[/script]
(#315099@0)
2001-12-27 -05:00

回到话题: when i use window.close() to close the broswer, it always popup a dlg ask Y/N, how to avoid this dlg and close directly? give me some hints please!!xs!

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈

URL:   
http://www.rolia.net/zh/post.php?f=0&p=315099