It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Return of result Set Web Sql Storage

Return of result Set Web Sql Storage

Postby TubainaRetro on Sat Oct 08, 2011 6:10 pm

I don't know if anyone could help me, but I'm with a little problem with a code
using Web Sql Database. Although it is not maintained I'm using this technology
in Google Chrome to create a small extension.

The problem is the folowing: I would like to return the resultset to a
fuction the called the function below. Is it possible?

function Read(){
var db = this.db;
db.transaction(function(tx) {
tx.executeSql("SELECT * FROM table", [], function(tx, results)
{
return results
});
});
}

Any help would be of great value.
TubainaRetro
 
Posts: 2
Joined: Sat Oct 08, 2011 6:01 pm

Who is online

Users browsing this forum: No registered users and 5 guests