I currently have two inputs like this
<input id="searchTextField" type="text" name ="start" size="50"><br>
<input id="searchTextField" type="text" name ="start" size="50"><br>
and this javascript
function initialize() {
var input = document.getElementById('searchTextField');
new google.maps.places.Autocomplete(input,options);
}
How do I make the second text box also use google places autocomplete? I have been unable to figure this out.
` and **JS**: `function initialize() { var input1 = document.getElementById('searchTextField1'); var input2 = document.getElementById('searchTextField2'); new google.maps.places.Autocomplete(input1,options); new google.maps.places.Autocomplete(input2,options); }` – Aravind Voggu Dec 02 '18 at 20:39