A collection of HTML and JavaScript code to demonstrate a few common postcode lookup options.

Download the code :

Download “Website Integration Pack”
crafty_clicks_js_samples_v5_5.zip – 16 KB

Contained in this pack are fully functional sample HTML pages. The sample code shows how to implement:

  • postcode -> click -> select the address
  • postcode + house name/number -> click -> select the address
  • parts of address -> search -> get full address & postcode
  • handling multiple address forms on one page

To get the maximum benefit from this code, you may want to have a look at the JavaScript Class User Guide and the generic JS integration tutorial.

We also have a few examples of implementing our postcode lookup on JSFiddle :