www.webdeveloper.com

Search:

Type: Posts; User: flop696

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,424

    What i'm trying to accomplish...

    I will explain what i'm trying to accomplish:

    1. lets say i have 2 tables on my sqlite database. lets call them "table1" and "table2".
    2. each has an "id" column as a key. "table 2" contains a...
  2. Replies
    9
    Views
    1,424

    Sorry for that but still not working...can you guide?

    This is my code:

    function one(actionId) {
    DEMODB.transaction(
    function (transaction) {
    if (actionId != '0') {
    transaction.executeSql("SELECT id FROM mainTable...
  3. Replies
    9
    Views
    1,424

    Yes! now i get the correct info on the...

    Now i get the correct info on the 'outer' alert.
    Thanks man!

    But how do i prevent/disable the inner call to the database to be async?
    Can you direct me? please view my original code i posted...
  4. Replies
    9
    Views
    1,424

    thanks but even if i declare it...

    Thank you for you answer.
    i tried to declare the variable as global (at the beginning of the JS file) but still the same problem.

    Another strange thing that probably got to do with this is that...
  5. Replies
    9
    Views
    1,424

    Strange function issue

    Hi there, i'm trying to get item from a local SQLITE db table:

    function getInfo(itemId) {

    var itemName = "defaultName";

    DEMODB.transaction(
    function (transaction) {
    ...
Results 1 to 5 of 5
HTML5 Development Center



Recent Articles