문제

Using jQuery.cookie here:

// Do stuff
$.cookie('something', 'yes', {
    domain: 'example.com',
    httpOnly: false,
    path: '/',
    expires: 10,
    secure: true
});
// Do other stuff...including using the cookie value right away

Do all browsers do the same thing?

도움이 되었습니까?

해결책

Yes....

That is the point in that plugin -- to be able to use the value right away.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top