I am using a lookup for UK postcodes which generates a simple form, does an api call and them fills in the list with returned items:
<script>
$('#postcode_lookup').getAddress(
{
api_key: 'XXXXX',
output_fields:
{
line_1: '#line1',
line_2: '#line2',
line_3: '#line3',
post_town: '#town',
county: '#county',
postcode: '#postcode'
},
input_label:'Please enter your postcode',
input_class:'form-control',
button_label:'Search',
button_class:'btn btn-primary'
});
</script>
So I end up with
What I now want to do is select one of the items and take the address line off to another page.
Any best way of doing this please?
