문제

How to iterate over a collection of keys stored in the localStorage using jStorage API ?

도움이 되었습니까?

해결책

$.jStorage.index()

Returns all the keys currently in use as an array.

var index = $.jStorage.index();
console.log(index); // ["key1","key2","key3"]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top