title: Find when google places autocomplete returns zero results
body: <p>I use the google places autocomplete for places suggestion. Now this is what I want: when a user types in a location that is not in google's database, that is google returns zero results, I need to be able to capture the event of zero results, and fire my custome autocomplete. </p>
  
  <p>How do I find when google is returning zero results? autocomplete.getPlace() will return a status if there are zero results, but this is inside place_changed event, which is fired only when user selects a suggestion from the dropdown list. How do I make it work outside the place_changed event?</p>
  
  <p>This is the code I use, please give suggestions based on this:</p>
  
  <pre><code>autocomplete = new google.maps.places.Autocomplete(input,options);
  google.maps.event.addListener(autocomplete, 'place_changed', function() {
     var place = autocomplete.getPlace();
     document.getElementById('place_name').value = place.name;
     document.getElementById('location_lat').value = place.geometry.location.lat();
     document.getElementById('location_lon').value = place.geometry.location.lng();
     document.getElementById('location_add').value = place.formatted_address;
     $('#locationInput').attr('title', place.formatted_address);
  });
  </code></pre>