简体   繁体   中英

Can jquery.cookie handle objects as a value?

I would like to store a cookie object with multiple values associated with various keys. Does anyone know if this is possible?

嗯,您可以使用JSON序列化对象,然后存储JSON。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM