I have a field called 'inputaddress' which a user types address details into, so they can perform a google map geocode.
What I would like to do is when the user clicks on the 'searchfortheaddress' button, it will perform the geocode but will then clear the 'inputaddress' field.
Could someone perhaps tell me please how I can clear the field.
document.getElementById("inputaddress").value = '';