回答編集履歴

1

ミスを変更

2016/08/09 00:12

投稿

退会済みユーザー
test CHANGED
@@ -1,14 +1,14 @@
1
1
  ```javascript
2
2
 
3
3
  $(function(){
4
+
5
+ if(!($.cookie('access')))
4
6
 
5
7
  var date = new Date();
6
8
 
7
9
  date.setTime(date.getTime() + (12*60*60*1000));
8
10
 
9
11
  $.cookie("access", "てきとうなもじ", {expires: date});
10
-
11
- if(!($.cookie('access')))
12
12
 
13
13
  window.location.href = 'index.html';
14
14