title: how can I pass argument in transaction callback function
body: <p>From a tutorial code like this </p>
  
  <pre><code>function queryDB(tx) {
      tx.executeSql('SELECT * FROM DEMO', [], querySuccess, errorCB);
  }
  
  function querySuccess(tx, results) {
  
  }
  
  function errorCB(err) {
      alert("Error processing SQL: "+err.code);
  }
  
  var db = window.openDatabase("Database", "1.0", "PhoneGap Demo", 200000);
  db.transaction(queryDB, errorCB); 
  </code></pre>
  
  <p>in db.transaction  i want to pass a variable as argument to queryDB function, so the code which i think of should looks like </p>
  
  <pre><code>db.transaction(queryDB(id), errorCB);
  </code></pre>
  
  <p>How I can actually implement this ? Or its simply gonna work like this and my id will be passed and get in tx ?</p>