Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- instr
- javascript 한글입력체크
- JavaScript
- 이미지가로길이
- array
- FileSystemObject
- ERD
- sql랭킹
- WML
- inner join
- injection
- asp함수
- join
- sql업데이트
- update
- VarType
- VARIABLE
- 인젝션
- xmldom
- 이미지세로길이
- jdbc driver
- sql순위
- XML
- 정규식
- wap
- tempDB
- SPLIT
- MSSQL보안
- 자바기초
- 한글입력체크
Archives
- Today
- Total
3초기억력
jquery - detach() : 줄 삭제(버퍼에 남음?) 본문
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<button id="T">Click</button>
<button id="B">AClick</button>
<div class="container">
<div class="hello">Hello</div>
<div class="goodbye">Goodbye</div>
</div>
<script>
$(document).ready(function() {
$('#T').click(function () {
//$('.hello').remove();
//$('div').remove('.hello'); // 위의 소스와 동일한 소스
$('div').detach('.hello');
});
});
</script>
</body>
</html>
'코딩_jquery' 카테고리의 다른 글
랭킹 scroll. nth-child 사용한 css 제어 (0) | 2013.03.28 |
---|---|
반응형 테이블, 소스코드 첨부 (0) | 2013.03.28 |
jquery, ajax, xml 활용한 도움말 layer 보여주기 (0) | 2013.01.22 |
jquery, jstree 사용. 자식노드 선택시 부모노드 선택하는 스크립트 (0) | 2013.01.15 |
jquery - editor : tinymce editor ( jquery 용 ) (0) | 2011.03.25 |
Comments