title: getting an insert ID from Webkit's HTML5 database storage
body: <p>Webkit (on iPhone and Safari, at least) supports HTML5's database storage via SQLite.</p>
  
  <p>I'm trying to figure out how best to get the insert ID (there's an autoincrement field 'id' in the database) for the following transaction.</p>
  
  <pre><code>db.transaction(function(tx) {
    tx.executeSql("INSERT INTO teams (name) VALUES (?)", [$('#team_name').val()]);
  });
  </code></pre>