IE8 Popup Invalid Argument Error

To all who are encountering the above error in our beloved IE8 browser. Here's a solution which might help you:


//the old typical way of doing it
window.open("http://google.com", "Google", "", false);
//for some reason it doesn't work on ie8, there are walk around but some are quite complicated

//what to do, limit the parameters:
var url = "http://google.com";
window.open(url);

//For some reason it works this way
//You can still use the variables on other browser just filter ie8


Attached is the screenshot of the error.
IE8 Popup Invalid Argument Error IE8 Popup Invalid Argument Error Reviewed by Edward Legaspi on Friday, November 05, 2010 Rating: 5

No comments:

Powered by Blogger.