Solved

country and states under it

Posted on 2003-11-18
7
417 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
Industry Leaders: 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
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 …

734 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