Hey all,

I have a signup form that a drop down list of country states, what I 
want to be able to do is when a user clicks his/her state the page will 
refresh and fill the below postcodes in with the approprite codes for 
the particular state, once a user has selected a postcode the page will 
refresh again and fill in the appropriate city/town, of course I will 
just default it to the first state in the list. I already have all the 
required data to do this for Australia.

I have the page refresh working with a onChange event on the select tag, 
but I cannot get the list to stay on the value that has been selected 
before the page was refreshed. Also how will I pass this information to 
php so that I can get the selected state without posting the form?

Has anyone done this before or can give me some clues on how to go about 
this, please just don't say 'javascript' as I have already searched alot 
of script archives but could only find jumpto menus etc.

I would really only like to use javascript to refresh the page onChange, 
and do all the selected stuff with php if possible.

Regards,

Joseph



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to