Advertisement
Guest User

jquery code

a guest
Mar 22nd, 2012
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.32 KB | None | 0 0
  1. $("#mypage").live("pagebeforeshow", function (){
  2.       db.transaction(function(tx){
  3.           tx.executeSql('SELECT * FROM TABLEX WHERE column_x = ?', [?], function (tx, rs){
  4.          // do whatever we want with the result of statement
  5.              // append results to my dom element           
  6.           });
  7.       });
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement