UK geocoding with Javascript Simple demo which passes postcode to the API on form submit and returns latitude and longitude. Full geocoding API documentation:- https://postcoder.com/docs/address-lookup#uk-geocoding