I use the following to try to create a popup in IE 9
function popUp(url) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(url,'" + id + "','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=520,left = 400,top = 200');"); return false; }
This works fine in Chrome, Firefox and Safari, but IE 9 refuses to open a popup window - instead, it opens the URL in a new tab. I disabled the popup blocker in IE9, but the function above still opens the URL in a new tab, not pops up.
Any suggestions on how to get IE9 to pop up?
source share