Quote:
|
Does anyone have any thoughts on how to do it with out a submit button?
|
Yes that can be done very easily.
First of all, there was a bug in the last program. It only let you select one state. And if you tried to select a different state, it displayed the city only.
So I fixed that.
I swapped out the submit button for two hidden inputs. And modified the reception of the POST variables.
Then I added a javascript function for housekeeping and a name to the form.
And last but not least, I added the onchange event to the select elements and programmed them to submit the form. And added a command to perform the housekeeping in the last else statement.
I'm sure there are ways to make this program more streamlined, but for as little research as I have put into it, it works.
Here is the finished program. "
I hope I got everything right this time. 
"