Dynamic address search and display on Google Map

I managed to partly work it out using two tutorials (Using Google Places Search and Using Google Places Autocomplete)
But having difficulties placing a dynamic Marker on the map from the autocomplete field?

Any suggestions/help?

Thanks.