I am using a SQLite database in my PhoneGap application. I am able to populate the database, extract the database and also print it using \[code\]console.log\[/code\]Here is the code \[code\]function extractFromDB(){ var db = window.openDatabase("hospitalsDB", "1.0", "HospitalsDB", false); db.transaction(queryDB, errorCB);} function queryDB(tx) { tx.executeSql('SELECT * FROM hospitals', [], querySuccess, errorCB); } function querySuccess(tx, results) { var len = results.rows.length; console.log("DEMO table: " + len + " rows found."); for (var i=0; i<len; i++){ console.log("Row = " + i + " ID = " + results.rows.item(i).id + " Data = "http://stackoverflow.com/questions/15593528/+ results.rows.item(i).data); }}\[/code\]My question is, how do I print this data onto the html page ?