1

I want to use data in the form sql tables but i have to use locaStorage feature of html5 is their any way to stored data in the form sql

Devendra Shewale
  • 407
  • 1
  • 5
  • 14

1 Answers1

1

I suggest you take a look at PersistJS for storage solutions. This answer briefly explains how the back-end of this library works.

As for data... Use JSON instead of XML. XML is too bulky to store, especially when the library falls back to cookie-based storage.

If you can't change how the server sends data (when the server guys are XML fanbois), here's an XML to JSON library which you try.

Community
  • 1
  • 1
Joseph
  • 117,725
  • 30
  • 181
  • 234