Solved

country and states under it

Posted on 2003-11-18
7
415 Views
Last Modified: 2006-11-17
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
0
Comment
Question by:carchitect
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 14

Expert Comment

by:ThG
ID: 9770610
under what?
0
 
LVL 13

Accepted Solution

by:
lozloz earned 40 total points
ID: 9770898
0
 
LVL 6

Author Comment

by:carchitect
ID: 9772326
it is like wehn i select a country then states under it shud appear
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:lozloz
ID: 9772381
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
 
LVL 6

Author Comment

by:carchitect
ID: 9776666
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
 
LVL 13

Expert Comment

by:lozloz
ID: 9779049
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
 
LVL 6

Author Comment

by:carchitect
ID: 9785124
thx alot for the help...i got what i was looking for
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question