h2o*_*ooo 9 javascript google-chrome xregexp
以下代码将在两台不同的计算机上同时失败(Windows 7,Chrome 12.0.742.100).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Test</title>
<script type="text/javascript">
location.hash = "#one";
location.hash = "#two";
location.hash = "#three";
</script>
</head>
<body>
This will error out "Uncaught Error: can't load XRegExp twice in the same frame" in chrome. Anyone got an answer?
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我觉得我尝试了一切.任何人都可以在chrome上确认这个错误,有没有人知道我如何修复它?非常感谢.
错误的URL:http: //jalsoedesign.net/test/hashchanging/
我应该补充: 它工作正常,做它应该做什么(更改页面哈希),但仍然出现错误.
| 归档时间: |
|
| 查看次数: |
5136 次 |
| 最近记录: |