Is there a way to get jQuery to get information to and from a file? Is it possible? How?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- What is the best way to do a search in a large fil
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
Cookies are your best bet. Look for the jquery cookie plugin.
Cookies are designed for this sort of situation -- you want to keep some information about this client on client side. Just be aware that cookies are passed back and forth on every web request so you can't store large amounts of data in there. But just a simple answer to a question should be fine.