난 그냥이이 문제를 가진 사람들에게 유용하다고 생각 정의되지 않은catch되지 않은 ReferenceError가 :이 코드했다</p> <p>: (함수)
<html>
<head>
<link rel="stylesheet" href="example.css" type="text/css"/>
<title>CSS TESTS</title>
<script language="text/javascript">
var move = 0;
</script>
</head>
<body>
<input type="text" id="shape" onchange="alert(move);"/>
</body>
</html>
을하지만 일에 대한 경고를 가져올 수 없습니다 . 나는 Uncaught ReferenceError를 얻을 것이다 : move가 정의되어 있지 않다.
완전히 제거하는 것이 더 좋습니다 : ''. HTML5와 HTML5를 이해하지 못하는 브라우저에서도 잘 작동합니다. –
html4 사양 : http://www.w3.org/TR/html4/interact/scripts.html#h-18.2.1 – Christophe
오, 정말 고마워요 :) :) 당신은 더 많은 시간을 절약 할 수 있습니다. 나는 그것에 2 시간을 보냈다 :( – AsadYarKhan