//删除某一个评论function dropTable(){ var tableName = window.prompt("请输入要删除的评论昵称:",""); db.transaction(function(tx){ tx.executeSql("delete from MsgData where name="+tableName+"",[],function(tx,rs){ window.alert("评论删除成功!"); },function(tx,error){ window.alert(error.source+"::"+error.message); }); })}executesql里面应该怎么写才能实现这个操作。。。我现在的写法会报错
添加回答
举报
0/150
提交
取消