0
A
回答
0
如果你想使用這個cookies,您可以使用jQuery插件餅乾https://github.com/carhartl/jquery-cookie
Create session cookie:
$.cookie('the_cookie', 'the_value');
Create expiring cookie, 7 days from then:
$.cookie('the_cookie', 'the_value', { expires: 7 });
Create expiring cookie, valid across entire page:
$.cookie('the_cookie', 'the_value', { expires: 7, path: '/' });
Read cookie:
$.cookie('the_cookie'); // => 'the_value'
$.cookie('not_existing'); // => null
Delete cookie by passing null as value:
$.cookie('the_cookie', null);
相關問題
- 1. jQuery UI排序和JS Cookie
- 2. onclick()刪除JQuery UI選項卡Cookie
- 3. Jquery UI保存狀態使用Cookie
- 4. 用cookie和jquery保存UI狀態
- 5. jQuery UI選項卡不能使用Cookie
- 6. 與jQuery和jQuery Cookie交叉域Cookie Cookie
- 7. jQuery cookie插件 - 檢查cookie
- 8. Jquery cookie-如何使用cookie
- 9. Jquery cookie刪除與JS Cookie
- 10. jquery ui show()方法與wordpress中的cookie衝突
- 11. 我正在尋找cookie的jquery ui選項卡
- 12. JQUERY UI - TABS&COOKIES - 如何使cookie保留新添加的標籤
- 13. jQuery UI選項卡和Cookie選項的問題
- 14. jquery cookie設置
- 15. jquery addClass和cookie
- 16. jquery Cookie和CSS
- 17. jQuery cookie切換
- 18. Jquery/Ajax cookie
- 19. Jquery/Ajax cookie pt2
- 20. Jquery滑塊cookie?
- 21. jQuery cookie控制
- 22. jQuery cookie if statment
- 23. jQuery Toggle Cookie Support
- 24. jquery cookie asp.net
- 25. jQuery Cookie路徑
- 26. jQuery檢查cookie
- 27. jQuery slideToggle&cookie
- 28. jquery cookie - hoursToLive
- 29. JQuery使用Cookie
- 30. jquery accordion cookie/persistence
我知道,我不知道如何使用jQuery UI的 –
連接你必須clairfy你的問題。 – KMan
如何在所有形式上行走,並記住所選元素?在頁面更新時,所選元素仍然被選中 –