Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.transaction(function(tx) {
- tx.executeSql('SELECT id, body FROM news', [], function(tx, results){
- new.id = results.rows.item(0).id;
- new.body = results.rows.item(0).body;
- });
- })
- alert(new.empresaKey);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement