title: how to pass parameters in sqlite transaction in cordova
body: <p>I have a bookid and i need to pass it on sqlite transaction in cordova
  like</p>
  
  <pre>
  var bookName  = db.transaction(function(tx){
                      return tx.executeSql('SELECT * FROM Iqra_Book WHERE book_id=?',[1],function(tx,res){
                          var leng = res.rows.length;
                          console.log("Length: " + leng);
                          return bkName = res.rows.item(0).book_name;
                      }
                  , function(e) {
                      return console.log("ERROR: " + e.message);
                  });
              });
  </pre>
  
  <p>But I am getting this booName as undefined.
  Can anyone help me out ?</p>