参见英文答案 >
Storing Objects in HTML5 localStorage25个
如何在html5中的localStorage对象中存储mycars数组?
如何在html5中的localStorage对象中存储mycars数组?
var mycars = new Array(); mycars[0] = "Saab"; mycars[1] = "Volvo"; mycars[2] = "BMW"; localStorage.mycars=?;@H_403_5@