Slide 42
Slide 42 text
1 0 Create an offline mode (Web SQL Database)
var db = window.openDatabase("DBName", "1.0", "description", 5*1024*1024); // 5MB
db.transaction(function(tx) {
tx.executeSql("SELECT * FROM employees", [], successCallback, errorCallback);
});