HTML:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>IE9</title>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.js"></script>
<script>
$(document).ready(function() {
alert("before event registration");
$(document).keydown(function() { alert("inside event handler"); });
});
</script>
</body>
</html>发布于 2011-05-12 13:43:43
在重新检查了我同事的机器上的问题后,我发现它没有在机器上重现--它是我的机器特有的,听起来像是一个“故障”。这让我很开心。
https://stackoverflow.com/questions/5966506
复制相似问题