Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#mypage").live("pagebeforeshow", function (){
- db.transaction(function(tx){
- tx.executeSql('SELECT * FROM TABLEX WHERE column_x = ?', [?], function (tx, rs){
- // do whatever we want with the result of statement
- // append results to my dom element
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement