Simple example: I want to have some items on a page (like divs or table rows), and I want to let the user click on them to select them. That seems easy enough in jQuery. To save which items a user clicks on with no server-side post backs, I was thinking a cookie would be a simple way to get this done.
- Is this assumption that a cookie is OK in this case, correct?
- If it is correct, does the jQuery API have some way to read/write cookie information that is nicer than the default JavaScript APIs?