일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- jquery 레이어
- ASP
- ajax
- 시놀로지
- Getrows
- Injection
- readonly
- 따라다니는 배너
- RTL88x2BU
- PHP GCM
- FileSystemObject
- lsusb
- AC1300
- disabled
- DS718+
- utf-8
- jQuery
- SQL Injection
- euc-kr
- javascript
- println
- synology
- include
- 커널
- submit
- 크로스 컴파일
- XMLHTTP
- replace
- form
- 무선랜카드
- Today
- Total
목록jQuery (25)
아는 것이 좋은 것이다.
main text 1 main text 2 main text 3 main text 4 main text 1 main text 2 main text 3 main text 4 select 태그 뿐만 아니라 다른 태그들도 data-**으로 사용 가능하다.
aaa # 설명파라미터 type에 값을 넣어주면 스크립트로 값을 받을수 있음( 예 ->http://start0.tistory.com/test.html?type=값1111 ) # 실행 예시type Value : 값1111
$(document).ready(function() { $('#btnSun').click(function() { $.fn.myFunction(); }); $.fn.myFunction = function() { alert('hi'); }});
$('#btn').trigger('click'); //실행하자마자 click이벤트를 트리거 함 유용하게 쓰는중
1. $(document).on( 'click', '#아이디', function (){alert('이벤트작동!');}); 2. $(document).bind('ready ajaxComplete', function(){//코드});
1. 참조변수를 제거하여 충돌을 막는다.if(jQuery) jQuery.noConflict();/* jQuery 참조변수($) 제거 */ 2. 별칭을 주어 기존 jquery와의 충돌을 방지한다.$jQ = jQuery.noConflict();/* 별칭을 부여하여 충돌을 방지 */$jQ(document).ready(function() { /* 실행할 스크립트 */ });