简体   繁体   中英

window.open not working in IE8 but working properly in FF3.6

i have requirement to open a new window on click of some link my code is

var url = data['featureHelpUrl'];
        var win = window.open(url, "_blank",
                "height=750,width=600,scrollbars=yes");
        win.focus();

this code is opening window in FF but not opening in IE

popup blocker! the popup blocker works differently in the 2 browsers from what i remember -- if you trigger this code as a result of an onclick event should work though, otherwise you will be subject to popup blocking.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM