Hello :
This function generate an error in Opera (unhandled error : "X" is not a function) and in Chromium (Uncaught TypeError: undefined is not a function) :
In the two browser, the script stop, but AFTER the Websql command has added one line (on the two expected) in the table.Code:db.transaction(function (tx) { tx.executeSql('insert INTO jointfightspec (name, special) VALUES (?,?)', [j1,jb1], function (tx, data) { }); })(jb1);
I need the (jb1) at the end, because without it the value of jb1 is not passed into the function (global or not global).


Reply With Quote
Bookmarks