title: How to add working place autocomplete by passing paramerter
body: <p>Im not able to get place autocomplete so what should i do?</p>
  
  <pre><code>&lt;input class="form-control" name="loc[]" onkeypress="return initialize(input);" required&gt;
  </code></pre>
  
  <p>js code:</p>
  
  <pre><code>function initialize(input) {
  
  var autocomplete = new google.maps.places.Autocomplete(input);
  }
  
  google.maps.event.addDomListener(window, 'load', initialize);
  </code></pre>