window.open Invalid argument in IE
Hazem Saleh (IBM) 2700027XCV Visits (5108)
Message: Invalid argument. Line: 21 Char: 4 Code: 0 URI: ...This error happens because IE does not allow spaces in the window name, for example the following code will cause the invalid argument error in IE:
windTo resolve this error, the solution is simple just remove the spaces from the window name and it will work fine:
windFinally, the other interesting fact is that IE does not allow the window name to have dashes “-”, so you have to remove it from the window name to make the window.open API working fine in IE.