나는 JQuery를 배워야한다. 자습서의 첫 번째 샘플은 다음과 같습니다.JQuery - 시작 튜토리얼
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
alert("Thanks for visiting!");
});
</script>
</head>
<body>
<a href="http://jquery.com/">jQuery</a>
</body>
</html>
작동하지 않습니다. 페이지를로드 한 후 팝업이 표시되지 않습니다. 나는 코드를 시도 : 그것은 작동
window.onload = function() { alert('...'); }
을하지만, 그 예는하지 않는 이유는 무엇입니까?
P. 나는 jquery를 다운로드하고 현재 dir 페이지에 복사했습니다.