I need to pass some variables from a cookie to jQuery, but I got this result:
Which is serialized, how I can access to these variables from jQuery?
Edit: I’ve updated my code: now I got this:
how I can access those variables?
var obj = jQuery.parseJSON(cookie); console.log(obj.wait,obj.ip);`