country and states under it

hi where can i get some javascript in which i can get country list and states under it.....i need to put it in php form..

any help
LVL 6
carchitectAsked:
Who is Participating?
 
ThGCommented:
under what?
0
 
carchitectAuthor Commented:
it is like wehn i select a country then states under it shud appear
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
lozlozCommented:
take a look at the script i've linked there, it does what you want except states appear only for the usa when it's selected, it can be modified to your needs i think

loz
0
 
carchitectAuthor Commented:
thx for the help yes it is good but if i get anything which gives me almost all countries and states under it, will be really appreciated......


as it is there in hotmail signup


regards
0
 
lozlozCommented:
this is actually a javascript question in that case. if you mean by having states under the countries in terms of position, then you just need to add a <br> or two between the select boxes. the vaguely useful script is the one above, your best bet is to modify that, the problem i suppose is that not every country has states

loz
0
 
carchitectAuthor Commented:
thx alot for the help...i got what i was looking for
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.