Javascript [removed] always empty string

前端 未结 5 1079
执念已碎
执念已碎 2020-11-30 01:53

I have this real strange problem with client side javascript setting cookies. I\'m developing a little 1 page demo at the moment to use cookies to store some \'preferences\'

5条回答
  •  遥遥无期
    2020-11-30 02:19

    For usage and docs, see here:

    https://developer.mozilla.org/en-US/docs/DOM/document.cookie

    If you are in Incognito Mode or have cookies disabled, it won't work.

提交回复
热议问题