Using Firefox (ESP) 10 for SUSE Linux 11. When a popup window was opened (with a OK button on it), it could not be closed. I encountered two issues:

1) In a javascript I used

alert("100");

then the popup window displayed: 100 OK.

But when I clicked on the OK button, the popup failed to response such that it remained as it has been.


2) Use window.location.href="http://www.google.com"; in a javascript, the google site could not be launched; However, window.open("http://www.google.com") could launch the site successfully.


How could I solve the problems?