window.open不使用IE9 [英] window.open not working with IE9
本文介绍了window.open不使用IE9的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法在IE9中使用它:
I'm having trouble getting this to work in IE9:
编辑:抱歉,我忘了提到$ variable是一个从下拉菜单中选择$ _GET。
edit: Sorry, I forgot to mention that $variable was a $_GET from a drop down menu selection.
我目前处于离线状态,
<a href="#"
onclick="window.open('https://domain.com/contact-form?chatq=<?php echo $variable;?>@domain.com','resizable=1,width=320,height=200'); return false;">
<br />click to send an email.
</a>
它在firefox和chrome中运行良好。我不确定IE的问题是什么。任何帮助将不胜感激。
It works fine in firefox and chrome. I'm not exactly sure what the problem is with IE. Any help would be appreciated.
谢谢!
推荐答案
经过测试IE9:
<?php
$variable = 3;
?>
<a
onclick="window.open('https://domain.com/contact-form?chatq=<?php echo $variable;? >@domain.com','resizable=1,width=320,height=200'); return false;">
<br />click to send an email.
</a>
这篇关于window.open不使用IE9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文