title: Google maps autocomplete not working
body: <p>I want to get the auto complete behaviour of the Google maps, but I am not getting the exact reason why it is showing this</p>
  
  <p>*<em>Uncaught TypeError: Cannot read property 'Autocomplete' of undefined *</em></p>
  
  <p>where as I used this</p>
  
  <pre><code>  var addressValue = document.getElementById('geoFenceAddress');
    alert(addressValue);
    var autocomplete = new google.maps.places.Autocomplete(addressValue);
    autocomplete.bindTo('bounds', geoFenceAddress);
  </code></pre>
  
  <p>I have an element with id '<strong>geoFenceAddress</strong>' and infact the alert is showing this <strong>[Object HTMLInputElement]</strong>. </p>
  
  <p>I am not understanding where I am lacking , please shed some light.........</p>
  
  <p>:(</p>