jquery cookie1 오늘하루만 이창을 열지 않기[오늘로 설정] jquery.cookie.min.js사용https://github.com/carhartl/jquery-cookie 오늘저녁시간을 알수있는 함수.var currentDate = new Date();expirationDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate()+1, 0, 0, 0);작성 테스트시 console.log로 찍어본 값currentDate : Fri Nov 03 2017 11:04:25 GMT+0900 (대한민국 표준시)expirationDate : Sat Nov 04 2017 00:00:00 GMT+0900 (대한민국 표준시) 실제 팝업창에서 사용한 예제 if(confirm('하루동안.. 2017. 11. 3. 이전 1 다음