alexfort93
[H]ard|Gawd
- Joined
- Feb 21, 2008
- Messages
- 1,855
I've recently just created a local database using Javascript and have begun to populate it with information. Now, I want to use the local database to call some data to confirm that is has worked, but I am unsure on how to do so.
I think this should work, but then I need some way of getting onto the page. Does anyone have any idea how I can get it to display the data on my html page?
Code:
EPIDB.transaction(
function (transaction) {
transaction.executeSql("SELECT * FROM Tablename;", [], dataSelectHandler, errorHandler);
}
);
I think this should work, but then I need some way of getting onto the page. Does anyone have any idea how I can get it to display the data on my html page?