Hey Bill,
How are you mate? Hope you are well..... :)
Im putting together a form here, and Ive been dabbling in AJAX (scary huh?). Actually I have the form working, to a point, but Im wanting to add some additional features to make it dead easy for the end user, and to do so, need some assistance.
Basically I have an SQL DB that holds a table consisting of state, city, suburb and postcode, and Id like (if possible) to use dynamic dropdowns and a text box to complete the address component of the form (without having to reload the page after each selection).
To give you a rough idea of what Im doing, follow the link below. In particular pay close attention to the "address" section of the page. For the moment ignore "number" and "street."
http://www.housemates.com.au/placean...tured_ajax.asp
Now you *should* see that I have automated the city/suburb section of the form successfully, but its clunky and needs to be improved upon. (Im using AJAX btw...)
Now heres what I would like to do, and if this can be done in straight javascript, then Im all for it.
The user selects the state, then all of the relative cities are shown, then they select the city, and all of the relative suburbs are shown. They then select their suburb, to which the related postcode is automatically entered into the postcode text box.
Make sense?
If you need more info Bill, let me know and Ill do it via email if thats cool. Rather not post DB related content here if possible as this is a live site.
Cheers,
John
PS. I should probably note that I will most likely need some help in terms of adjusting your Google Whiz Bang Maps Do-dad to accommodate any changes. Cool? :)