일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- TS
- HTML
- propschildren
- 이벤트
- CSS
- 코딩
- 비대칭키 암호화
- JS
- CPU
- react
- github 계정 두개 연결 (mac)
- typescript
- https://api.jquery.com/
- JavaScript
- 자바스크립트
- Do it
- 브라우저 렌더링 원리
- 혼자 공부하는 컴퓨터구조+운영체제
- 코딩자율학습
- cpu 성능 향상 기법
- 코딩 자율학습
- do it! 한권으로 끝내는 웹 기본 교과서 html+css+자바스크립트 웹 표준의 정석
- 코딩 자율학습 html + css + 자바스크립트]
- 코딩 자율학습 html + css + 자바스크립트
- css배경
- Git
- css필수 속성
- 메모리와 캐시 메모리
- 이벤트버블링
- css박스 모델
- Today
- Total
게으른 나에게
[jQuery]- 기본 사용법 본문
jQuery: 자바스크립트의 생산성을 향상 시켜주는 js 라이브러리
jQuery cdn 검색 -> jQuery 3.x 버전 <script> 태그 -> html 파일에 복사 붙여넣기 -> 설치 완료 -> 설치 하단에서 코드 작성
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha512-894YE6QWD5I59HgZOGReFYm4dnWc1Qt5NtvYSaNcOP+u1T9qYdvdihz0PPSiiqn/+/3e7Jo4EaG7TubfWGUrMQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
[기본 문법]
$(제어대상).method1().method2();
querySelector / querySelectorAll = $
addEventListener = on
document.querySelector('.a').innerHTML = "하이";
==> $('.a').html = "하이";
document.querySelector('.a').sytle = "하이";
==> $('.a').css('color', 'red)
document.querySelector('.').addEventListener('click', funtion() {});
==> $('.').on('click', funtion() {});
jQuery API Documentation
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. If you're new t
api.jquery.com
.hide()
.addClass()
.removeClass()
.toggleClass()
.fadeout()
.slideUp()
등
등
등...
'My Study' 카테고리의 다른 글
[git] - 사용법 (3) | 2024.10.11 |
---|---|
맥북 git 설치법 (1) | 2024.10.11 |
Storage (0) | 2024.10.11 |
서버, Ajax (0) | 2024.10.10 |
server-side rendering / client-side rendering (0) | 2024.10.10 |