坚持两个页面之间使用JavaScript的价值 [英] persist value between two pages using javascript

查看:92
本文介绍了坚持两个页面之间使用JavaScript的价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个html页面,其中我现在只存储了几个用户选择的值,并希望在另一个html页面上使用这些值。

我正在使用jQuery我的模块,我已经试过window.name和window.localStorage,但他们不坚持两个页面之间的值。



所以请帮我解决这个问题。 / p>

解决方案

最后,我在

http://plugins.jquery.com/project/DOMCached


i have a one html page in which i am storing few user selected values now and want to use these values on another html page.

i am using jquery in my module and i have already tried window.name and window.localStorage but they don't persist values between two pages.

so please help me to solve this problem.

解决方案

Finally i got pretty cool solution on

http://plugins.jquery.com/project/DOMCached

这篇关于坚持两个页面之间使用JavaScript的价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆