i'am working on a project with Tizen for samsung Smart TV i'm using web SQL when i insert Data with this Code
function insertData(db, name,category ,iconName,score) {
try {
db.transaction(function (e) {
console.log("start insert");
try {
e.executeSql(insertStatement,[name,category,iconName,score],
onSuccess, onError);
} catch (e) {
// TODO: handle exception
console.log(e);
}
});
} catch (e) {
console.log(e);
}
i have this error "TypeError: 'undefined' is not an object (evaluating 'db.transaction') tizen"
Aucun commentaire:
Enregistrer un commentaire