
jquery code
By: a guest on
Mar 22nd, 2012 | syntax:
jQuery | size: 0.32 KB | hits: 146 | expires: Never
$("#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
});
});
});