jQuery 셀렉트박스(selectbox) 체크여부 확인하기 > script

본문 바로가기

script

jQuery 셀렉트박스(selectbox) 체크여부 확인하기

작성일 12-09-24 15:17

페이지 정보

작성자서방님 조회 890회 댓글 0건

본문

if(!$('#selectBoxID > option:selected').val()) {
    alert("아나 선택 좀..");
}

selectBoxID는 체크 유무를 확인하실 select 태그의 id값입니다.

댓글목록

등록된 댓글이 없습니다.

게시물 검색
Copyright © 서방님.kr All rights reserved.
PC 버전으로 보기