Solved

country and states under it

Posted on 2003-11-18
7
413 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now