Possible Duplicate:
JavaScript open in a new window, not tab
Code
<asp:Button ID="btnPopupWindow" runat="server"
Text="Popup Window"
OnClientClick="PopupWindow();" />
JavaScript
function PopupWindow() {
testwindow = window.open("http://google.com", "Google", "menubar=0,addressbar=0, width=500, height=500");
testwindow.focus();
}
Using above code i can open new popup window in IE, but this code is not working in the firefox.
What is the problem with my code?