Jquery
jquery
까먹어서 기억하라고 한번더 적기 jquery 는 이문을 추가 하지 않으면 오류 .
<script src="/common/js/jQuery.js" language="JavaScript" type="text/javascript"></script>
jquery DIV 를 display 시키고싶을때 .
<div class="" id="stpList>
div 에 id 값을 지정해주고.
var pag ="#stpList";
$(pag).hide();
또는 $('#stpList').hide();
보여주고 싶을때는
$('#stpList').show();
! tip
jquery 기억할것
.class
#ID
점클래스
샵아이디
ex) <div class="stpList"> 는 $('.stpList')
ex) <div id="stpList"> 는 $('#stpList')
'웹 > JQUERY' 카테고리의 다른 글
[jQuery] 포커스 삭제하기 (0) | 2015.10.12 |
---|---|
[checkBox] 체크박스 된값 가져오기 (0) | 2015.05.27 |
jquery document.ready (0) | 2015.03.19 |
[prototype][jquery] (0) | 2015.03.09 |
[JQUERY] (0) | 2015.03.09 |