각각 A 랑 B 값이 있을 경우 A값 일때도 결과는 C B값일때도 결과는 C을 나타나게 할려면 어떻게 해야할까요?
switch(n) { case(A): document.all.rent_type_ins.style.display = ""; break; default: document.all.rent_type_ins.style.display = "none"; break; }
코드
}else{ }?>
위나 아래 둘중 하나로 해보세요
swich($Fetch['rent_type']){
case 'A':
case 'B':
break;
default:
}
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
이 게시물을 신고 하시겠습니까?신고사유를 선택해주세요.