프로그래밍/자바스크립트 썸네일형 리스트형 자바스크립트 url multi 연결(URL multi call) alert("등록되었습니다."); var urls = ['/sendPush','/Mypage']; // 푸시 보내고, 마이페이지로 이동 $.each(urls, function(i,u){ $.ajax(u, { type: 'GET', data: { seq: $("#seq").val() }, success: function (data) { if(u == "/Mypage"){ location.replace('/Mypage'); } } } ); }); 한페이지에서 URL 멀티 호출하기 더보기 실시간으로 시간 체크 // 야간, 심야 할증 시간은 매일 18시 부터 07시 까지 var nt_hour = ""; // 실시간으로 시간 체크, 1초 마다 체크 setInterval(function() { var aaa = new Date(); nt_hour = aaa.getHours(); if( nt_hour >= "18" || nt_hour 더보기 Mixed Content: The page at your domain was loaded over HTTPS 혼합콘텐츠 해결방법 Mixed Content: The page at 'https://www.aaaaaaaaaa.co.kr/' was loaded over HTTPS, but requested an insecure script 'http://dmaps.daum.net/map_js_init/postcode.v2.js'. This request has been blocked; the content must be served over HTTPS. 구글 크롬에서 https 환경에서 http가 있으면 막는 현상 혼합콘텐츠라고 해서 https 도메인 소유자가 http 환경을 같이 사용할 경우 막는 현상이 발생함 해결방법 before -> http://dmaps.daum.net/map_js_init/postcode.v2.js 소스에 이런.. 더보기 이전 1 2 3 4 5 6 ··· 14 다음