회원가입 껍데기
로그인 껍데기
limit 종류
1.
select abc, id
from a
limit 10000, 10;
2.
select abc, id
from a
limit 10 offset 10000;
3-1.
select q.abc, id
from (
select abc
from a
where 필요하면 작성....
order by 필요하면 작성...
limit 10000, 10
) q
join a
on q.abc = a.abc
;
3-2.
select q.abc, id
from a
join (
select abc
from a
where 필요하면 작성....
order by 필요하면 작성...
limit 10000, 10
) q
on q.abc = a.abc
;
3-3.
select q.abc, id
from a, (
select abc
from a
where 필요하면 작성....
order by 필요하면 작성...
limit 10000, 10
) q
where q.abc = a.abc
;
jquery addClass
<html>
<h2 id="pt">테스트</h2>
</html>
<script>
pt = document.getElementById("pt");
$(pt).addClass("addClassTest");
$(pt).addClass("addClassTest2");
</script>
---------------------
결과는
<h2 id="pt" class="addClassTest addClassTest2">테스트</h2>
e.currentTarget
<html>
<h2 id="pt">테스트</h2>
</html>
<script>
pt = document.getElementById("pt");
pt.addEventListener("click", ptClick, false);
function ptClick(e) {
console.log(e.currentTarget);
}
</script>
---------------------
console.log 결과는
<h2 id="pt">테스트</h2>
'일' 카테고리의 다른 글
java 한글 인코딩 확인 (0) | 2019.01.11 |
---|