0

我正在使用alertify.js在我的网站中生成警报。在网站的工作中,有这样一种情况,用户可以从在线人员列表中点击一个名字,然后会有一个通知发送给那个人。

虽然请求通知显示在另一端,但上面有一个接受按钮。它实际上是一个表单,当用户单击“开始”时,将打开一个新选项卡,其中很少有参数作为 POST 方法发送。

我的 Alertify.js 代码是:-

<script type="text/javascript">

alertify.log("<?php echo $row['from']." want to talk to You !! <br> "?><div><form  action='chatIndex.php' method='POST' target='_blank'><input type='hidden' name='not_no' value='<?php echo $row['no']?>'><input type='hidden' name='not_from' value='<?php echo $row['from']?>'><input type='submit' style='float:left' value='Start' /></div>");

</script>

这在 Chrome、Firefox 中运行良好,但在 IE 10 中无法运行。我还使用这些元标记在 IE 10 中正确运行 Jquery

<meta http-equiv="x-ua-compatible" content="IE=9" >
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="x-ua-compatible" content="IE=EmulateIE9">
4

1 回答 1

0

也添加这个(忘记添加 IE=10):

<meta http-equiv="X-UA-Compatible" content="IE=10" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" />
于 2014-06-18T10:43:04.767 回答