Welcome aboard! We are happy you are here and wish you good net-raft!
var db=null;
db = window.openDatabase("INP_DEVELOP", "1.0", "database list", 1024*1024*3);
db.transaction(function(tx){
tx.executeSql("DROP table support_table", []);
});
// or use this one with variables
var id = $("#test1").val();
var text1 = $("#test2").val();
var db=null;
db = window.openDatabase("INP_DEVELOP", "1.0", "database list", 1024*1024*3);
db.transaction(function(tx){
tx.executeSql("UPDATE support_table set column1 = ? where id = ?", [text1.val(),id.val()]);
});
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507