S
S
Space2014-03-18 14:03:09
JavaScript
Space, 2014-03-18 14:03:09

How to parse cookies?

Hello. How to parse cookies and put them in a variable? (javascript). Cookies are set in php. I also use express.j . Can you parse through them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
montylab, 2014-03-18
@montylab

document.cookie.split(";");

E
Evgeny Popov, 2014-03-18
@Kaaboeld

Very handy jquery plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question