title: Uncaught TypeError: Cannot read property 'rows' of undefined phonegap
body: <p>I have a sqlite problem with phonegap 1.6.1.
  The first query tag returns fine, however the callback barfs with <strong>Uncaught TypeError: Cannot read property 'rows' of undefined</strong> . 
  jquery wont refresh the list properly because of the js error. As far as I can see the call and callback have the correct syntax</p>
  
  <p>anybody experienced a similar problem?</p>
  
  <pre><code>/* MY JUICES*/
  function queryMyJuices(tx) {
  tx.executeSql(
          'SELECT * FROM MYJUICE',
                  [], queryMJSuccess, errorCB);
  }
  
  
  function queryMJSuccess(tx, results) {
  var len = results.rows.length;
  
  for ( var i = 0; i &lt; len; i++) {
      $("ul#myjuices")
              .append(
                      '&lt;li id=' 
                              + results.rows.item(i).id
                              + ' " &gt;'
                              + results.rows.item(i).name
                              + ' &lt;/a&gt;&lt;a rel="delete"
  data-rel="dialog" href="#two"&gt;Delete&lt;/a&gt;&lt;/li&gt;');
  
  } $('ul#myjuices').listview('refresh');
  
  }
  /* MY JUICES*/
  </code></pre>