7월, 2018의 게시물 표시

[jQuery] 로또 번호 생성기

1. 게임 횟수 추가 2. 본인 게임 회차 추가 3. 고정 번호 추가

url 파라미터

1.  var _url = document.location.href.split("/"),     _urlPara = _url[3].split("."), //세번 째 배열     _urlParaCate = _urlPara[0];             if(_urlParaCate == 'SubMain01' || _urlParaCate == 'SubMain02' || _urlParaCate == 'customer' ){        console.log('1')     location.href = "1";     }else if(_urlParaCate == 'Page'){     var _pagePara = _url[3].split("="), _pageParaCate = _pagePara[1].substring(0, 2);         if(_pageParaCate=='A0' || _pageParaCate =='B0' || _pageParaCate =='C0' || _pageParaCate =='D0' || _pageParaCate =='E0' || _pageParaCate =='F0'){     console.log('S1')             location.href = "S1";         }hange =="B1"){     console.log('M1')     location.href = "M1";     }else{     console.log('2')     location.href = "2"