Address Autocomplete

Live example

Start typing an address, and then select one. In the Javascript code, you could take the required action, for example filling the checkout address lines, in the onClick: section.

“item.postcode” gives you the postcode, “item.company” gives you the company name and so on.

Code

Find Address by Postcode

Live example

Enter any UK postcode, press FIND and then select one. In the Javascript code, you could take the required action, for example filling the checkout address lines, in the jQuery(“#dropdown”).change() section.

“addressDetails.postcode” gives you the postcode, “addressDetails.company” gives you the company name and so on.

Code