开发者

window.open causing error in IE only

开发者 https://www.devze.com 2022-12-30 09:24 出处:网络
I am calling this from ie8: function verify_ssl() { window.open (\"https://seal.godaddy.com/verifySeal?sealID=129275340046e2e09512711f05bc73f617fac022950185486622550\",

I am calling this from ie8:

function verify_ssl()
{
    window.open ("https://seal.godaddy.com/verifySeal?sealID=129275340046e2e09512711f05bc73f617fac022950185486622550",
    "ssl-window","status=0,toolbar=0,m开发者_运维百科enubar=0,resizable=0,width=540,height=435");
}

It says invalid argument, It works fine in FF and Chrome. Any idea what the issue is in IE?


A wild guess: Remove the - from ssl-window.


I can't test it (Mac user), but I remember something about the title of window.open (the 2nd parameter), try it without the "-".

0

精彩评论

暂无评论...
验证码 换一张
取 消