Pregunta

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?

¿Fue útil?

Solución

Yes....

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top