# How does node-red introduce jquery cookies in HTML files when I need to save my radio records

**URL:** <https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012>\
**Category:** General\
**Created:** [15 March 2019 07:53 UTC](https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012 "2019-03-15T07:53:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JiChen](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@JiChen](https://discourse.nodered.org/u/JiChen)\
**Post date:** [15 March 2019 07:53 UTC](https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012/1 "2019-03-15T07:53:47Z")

</div>

How does node-red introduce jquery cookies in HTML files when I need to save my radio records。  
The value of my radio box is dynamically generated via the server.After I selected one, when I refreshed the page, I did not re-select save.I want to keep my records by using jquery cookies.The radio record is still there after refreshing the page.But I found that "$.cookies (...) ".I would like to ask how to introduce jquery.cookies. Js file ![%E8%AE%BA%E5%9D%9B](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/3b932a0348f021c29bbadc4fa408918774b384c1.png)

 ![click](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/71a34a020d1d6833ded2f1125075279314769a36.png)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [15 March 2019 08:44 UTC](https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012/2 "2019-03-15T08:44:01Z")

</div>

Hi @JiChen - please could you explain your scenario in more detail? It is not clear what you are asking.

---

<div class="post-metadata">

**Author:** ![JiChen](https://avatars.discourse-cdn.com/v4/letter/j/e9c0ed/32.png) [@JiChen](https://discourse.nodered.org/u/JiChen)\
**Post date:** [15 March 2019 08:59 UTC](https://discourse.nodered.org/t/how-does-node-red-introduce-jquery-cookies-in-html-files-when-i-need-to-save-my-radio-records/9012/3 "2019-03-15T08:59:49Z")

</div>

How does node-red introduce jquery cookies in HTML files when I need to save my radio records。  
The value of my radio box is dynamically generated via the server.After I selected one, when I refreshed the page, I did not re-select save.I want to keep my records by using jquery cookies.The radio record is still there after refreshing the page.But I found that "$.cookies (...) ".I would like to ask how to introduce jquery.cookies. Js file!

 ![click](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/71a34a020d1d6833ded2f1125075279314769a36.png) ![%E8%AE%BA%E5%9D%9B](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/3b932a0348f021c29bbadc4fa408918774b384c1.png)
