title: jquery typeahead and address picker?
body: <p>With the release of <a href="http://getbootstrap.com/" rel="nofollow">bootstrap 3.0</a> the typeahead plugin has been removed and replaced with <a href="http://twitter.github.io/typeahead.js/" rel="nofollow">Twitters typeahead plugin</a>.  Any idea how I can use this in conjunction with the <a href="https://github.com/flevour/jquery-addressPicker" rel="nofollow">addresspicker plugin</a>.</p>
  
  <p>My old code worked like this:</p>
  
  <pre><code>    $('#location').addressPicker({
            boundElements: {
                '#wizard .Country': function(data) {
                    var result = '';
                    $.each(data.address_components, function (index, value) {
                        if (value.types.indexOf('country') !== -1) {
                            result = value.long_name;
                        }
                    });
                    return result;
                },                  
                '#wizard .State': 'administrative_area_level_1',
                '#wizard .City': 'locality',
                '#wizard .PostalCode': 'postal_code',
                '#wizard .Lat': 'lat',
                '#wizard .Lng': 'lng'
            }
      });
  </code></pre>
  
  <p>The event trigger for the new type ahead looks like this:</p>
  
  <pre><code>$('#location').typeahead({                                
           /* ??? */
  });
  </code></pre>