IE(v:11.162.x)在IE 11

时间:2016-04-05 07:29:08

标签: javascript jquery internet-explorer-11 diacritics

我在错误跟踪器中打开了一个错误,但是它被直接关闭了。 所以我希望我能在这里获得更多帮助。

如果我在IE 11.162.10586.0中运行我的演示,我会收到警告对话框,其中包含"问题"。在所有其他浏览器中,它按预期工作。只有在文本框中有德语变音符号时才会出现问题。



<!DOCTYPE html>

<html>

<head>
  <meta charset="UTF-8" />
  <title>Bug Demo</title>
  <script src="//code.jquery.com/jquery-1.12.2.js"></script>
</head>

<body>
  <div class="content-wrapper">
    <div class="header">
      <h1>Demo project</h1>
    </div>

    <div id="content" class="content">
      <input type="text" id="#tbDemo" name="tbDemo" value="Demo (äöü)" />
      <h2>This does not work in the Internet Explorer</h2>
      <p><strong>Version: 11.162.10586.0</strong>
      </p>

      <h3>Problem</h3>
      <p>Only in the Internet Explorer (with that version - not Edge!) you can see the javascript alert with "Problem!"</p>
      <p>Without (äöü) in the textbox it works as expected.</p>
    </div>
  </div>

  <script>
    $(document).ready(function() {
      $("#content").find("input").on('input', function() {
        alert('Problem!');
      });
    });
  </script>
</body>

</html>
&#13;
&#13;
&#13;

我做了一个截屏视频来说明问题: http://screencast.com/t/RrHMleAVN3sj

感谢您的帮助!

0 个答案:

没有答案