0

Possible Duplicate:
ie8 var w= window.open() - “Message: Invalid argument.”

check this page out: http://jsfiddle.net/S7Crc/

notice that clicking on click me opens a window properly in firefox but not in internet explorer despite the fact that the window.open is triggered by the user...

how do I get Internet Explorer to properly execute window.open and have it behave the same with Firefox? (note that I need to set the width and height of the window so a simple target _blank or target _new are NOT viable alternatives)

2

1 Answer 1

0

change the 2nd parameter for open(), the hyphen is not allowed there in IE

Use only characters[a-zA-Z], digits and the underscore for the 2nd argument

Not the answer you're looking for? Browse other questions tagged or ask your own question.