AJAX function to populate textfields  based on dropdown list
I have not done much on Ajax before and was wondering if I could do this using jQuery.

This is what I have at the moment:

- Database table 'airports' - this contains id, name, town, postcode
- Dropdown list with Airport names (the entries are generated from the database)
- 3 form fields (name, town, post code)

I want to be able to select an airport from the drop down list and the address fields need to be populated with the corresponding data.

Can someone give me some guidance on how I go about doing this?
AJAX function to populate textfields  based on dropdown list
===

I have not done much on Ajax before and was wondering if I could do this using jQuery.

This is what I have at the moment:

- Database table 'airports' - this contains id, name, town, postcode
- Dropdown list with Airport names (the entries are generated from the database)
- 3 form fields (name, town, post code)

I want to be able to select an airport from the drop down list and the address fields need to be populated with the corresponding data.

Can someone give me some guidance on how I go about doing this?