https://github.com/carhartl/jquery-cookieJquery 쿠키 플러그인이 작동하지 않습니다.
이 플러그인입니다. 내가 가진 코드는 실행시에이 http://pastebin.com/4LkcGqMm
, 그것은이 출력을
GET file:///C:/core/jquey.cookie.js index.html:7
Loading game Game.js:31
Uncaught TypeError: Object function (E,F){return new o.fn.init(E,F)} has no method 'cookie' Game.js:32
loadGame Game.js:32
onload index.html:9
Saving game Game.js:25
Uncaught TypeError: Converting circular structure to JSON Game.js:26
saveGame Game.js:26
Saving game
당신이 볼로 불리는되지 않는 오류 및 loadGame 및 세이브 게임의 마지막 선이 있습니다. 이 문제를 해결할 수있는 방법이 있습니까?
이 포함되어 있습니다. jquery와 플러그인을 머리에, Game.js를 body의 맨 아래에 다른 js 파일과 함께 포함합니다. –
@ Makerimages-New 편집 된 게시물보기 – mrkirby153
응? 다시 읽으십시오. $ .cookie는 내가 가지고있는 것입니다 –