피카부 RSS 태그 관리 글쓰기 방명록 다시 시작하는 개발 블로그
2014-04-03 11:05:32
아래의 코드로 값이 있는지 없는지 체크가 가능합니다.

 

if
(($("#one").length > 0)){ alert('yes');} if (($("#two").length > 0)){ alert('yes');} if (($("#three").length > 0)){ alert('yes');} if (($("#four")).length == 0){ alert('no');}