jQuery는 HTML 문서 탐색, 이벤트 처리, 애니메이션, Ajax 통신 등을
간편하게 처리할 수 있도록 도와주는 JavaScript 라이브러리입니다.
사용하기 위해서는 js파일을 하나 만들어줘야하는데요.
Download jQuery | jQuery
Download jQuery link Latest version To locally download these files, right-click the link and select "Save as..." from the menu. Download the compressed, production version: Download jQuery 3.7.1 The slim build is a smaller version, that excludes the ajax
jquery.com
해당 링크로 들어가서
를 누릅니다.
그러면 무수히 많은 Encoding안된 코드들이 있을텐데
Eclipse프로젝트에서 js파일을 하나 만들고
해당 코드 전부를 복사해서
js파일로 저장합니다.
해당 js파일을 프로젝트 폴더에 넣어주면
script 태그로 import해올 수 있습니다.
<script type = "text/javascript " src = "jQuery.js"></script>
import 후 script태그를 하나 더 만들어서
해당 태그 내에서 jQuery 문을 사용할 수 있습니다.
'jQuery' 카테고리의 다른 글
[jQuery] 반복문 (0) | 2025.02.14 |
---|---|
[jQuery] Mouseenter, Mouseleave (0) | 2025.02.14 |
[jQuery] setInterval (0) | 2025.02.14 |
[jQuery] CSS (0) | 2025.02.14 |
[jQuery] 선택자 (0) | 2025.02.14 |