How to check if your WebSQL environment is working?

Author: Peter Aron Zentai June 6th, 2012

, , ,

Quicksteps to create a web sql database with pure JavaScript (with exactly ZERO sql statements)

1. Get JayData and jQuery and include in an html page. Whatever is the editor of your choice it’ll work (the beauty of the client side).

2. Copy this into the page:

Also note that the provider names are somewhat tricky: oData, indexedDB, webSql, sqLite

3) Open up  your page with Google Chrome. The page can be on a webserver or in the local file system. Press F12 and In the Resources pane you should see this:


4) That’s all folks. Happy local storing information Smile

, , ,