Click to See Complete Forum and Search --> : Loading state and county drop lists


Angus
09-14-2005, 03:11 PM
Hey everyone

For my e-commerce site, I want to load the state drop list with all of the 50 2-character state abbreviations. I also want to load the country drop list with all of the countries (in the world, I guess).

There has to be a way to auto-load these into my drop lists so I don't have to manually type them all. Anyone have a way to do it ?

beanroaster
09-14-2005, 05:50 PM
What do you mean auto load them? In the 2 hours and 39 minutes it took for this answer to come through, you could have already typed them all.

tabzter
09-14-2005, 06:38 PM
Just take someones code part containing all this info and copy and paste it.
Use a sophisticated text editor to get rid of all <option....> and </option> parts leaving you with just the countries.

BUT I MUST SAY I AGREE WITH THE BEANROASTER