开窗器问题IE11?

时间:2014-11-14 15:14:34

标签: javascript internet-explorer-11

由于某种原因,以下代码(触发父页面功能)在IE11中不起作用。它现在工作得很好但不再。要注意:我试图关闭保护模式(这不是客户的解决方案),但这也不起作用!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=8" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Register</title>
  <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>  
</head>
<body>      
<script type="text/javascript">        
  var accounts = window.opener.$('input[name="accounts_added"]');
  var text = window.opener.$('#counter_$id');

  $(accounts).val(parseInt($(accounts).val()) + 1);

  //window.opener.$('input[name="subBtn"]').show();
  window.opener.updateAjaxbox();

  window.close();      
</script>
</body>

0 个答案:

没有答案