I've stored some data in the localstorage.
Then, I need to be in the page initialization, the number of this data is filled in between the page plus minus sign, ask general this problem how to solve? I was thinking of using the jquery selector to select the corresponding Data-id attribute and then populate it, would that be desirable? Is there a better way?
In ...]
Reply content:
I've stored some data in the localstorage.
Then, I need to be in the page initialization, the number of this data is filled in between the page plus minus sign, ask general this problem how to solve? I was thinking of using the jquery selector to select the corresponding Data-id attribute and then populate it, would that be desirable? Is there a better way?
In ...]
I think this method, in!
The thing that can be done is that the objects in the localstorage can be handled this way even better.
{ 20160611:{name:"test"...}, 20160612:{name:"test"...}, 20160613:{name:"test"...}}
The whole object is placed inside a key.
Thank you for inviting me first. You can do this.
Xie invited
You're working this way.
Xie invited, no practical operation, the principle is that it should be possible, try to know