To store objects in HTML5 localStorage or sessionStorage, you need to first convert the object to a string using JSON.stringify() and then store it as a string. When you want to retrieve the object, you can use JSON.parse() to convert the string back to an object.
Continue Reading...