7.1 에서 7.4 로 PHP 올렸는데 잘 되는 부분이 안되네요.. ㅡ.ㅡ; 고견 부탁 드립니다. 채택완료
서버 업그레이드 차원에서 조금씩 선을 보고 있는데요. 7.1 에서 최근 올라온 7.4.9 PHP 에서 에러도 내지 않고 잘 되던 기능이 안되어서.. 시름 시름 시간만 보내고 있습니다.
혹시 보시고 고견을 부탁 드립니다.
Copy
$("select[name=sca2]").prop("disabled", true);
$("select[name=sca3]").prop("disabled", true);
$("select[name=tag]").prop("disabled", true);
$("select[name=sca3]").prop("disabled", true);
$("select[name=tag]").prop("disabled", true);
$("select[name=sca1]").change(function() {
var category2 = $("select[name=sca2]");
var category3 = $("select[name=sca3]");
var ca_name = $(this).val();
category2.prop("disabled", false);
category2.children().remove();
category3.children().remove();
$(".sca1").addClass('active');
}
var category4 = $("select[name=tag]");
category4.prop("disabled", false);
category4.children().remove();
// 다운로드 버튼 비활성화
$('input[type=submit]').removeClass('active');
$('.sca4').removeClass('active');
// 1카테고리를 선택했는데 2카테고리가 존재하면 검색하지 않고 리턴
if ($('select[name=sca2]').children().length > 0) {
$('select[name=sca3]').prop("disabled", true);
$('select[name=tag]').prop("disabled", true);
return;
}
else {
$('select[name=sca2]').prop('disabled', true);
}
답변 2개
채택된 답변
+20 포인트
5년 전
어느부분인지 체크하기가 어렵습니다.
https://www.php.net/manual/en/migration72.php 를 보시고, 순서대로 차근 차근 올려 보세요.
없어진 기능 체크해 가면서..
그리고 중간 중간에 메시지 찍어가면서 확인해 보는 방법도 있습니다.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인