country and city dropdown list in html

Solutions on MaxInterview for country and city dropdown list in html by the best coders in the world

showing results for - "country and city dropdown list in html"
Maite
23 Mar 2018
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
2    "http://www.w3.org/TR/html4/loose.dtd">
3
4<html>
5<head>
6<title>Region > Country > Division</title>
7<style type="text/css">
8
9body {
10	background: #000;
11}
12#widget {
13	width: 780px;
14	height: 480px;
15	font: normal 10px verdana;
16	text-align: center;
17	margin: 40px auto;
18	border: 5px #aaa;
19	border-style: outset inset inset outset;
20	background: url(http://www.grsites.com/textures/misc/misc142.jpg);
21}
22form {
23	width: 98%;
24	margin: 200px 0 60px 0;
25}
26select {
27	width: 190px;
28	font: normal 11px verdana;
29	color: #fff;
30	background: #000;
31}
32#txtregion {
33	width: 98%;
34	height: 16px;
35	font: normal 12px verdana;
36	letter-spacing: .4em;
37	margin: auto;
38	border-bottom: 1px black solid;
39}
40#txtplacename {
41	width: 98%;
42	height: 16px;
43	font: normal 10px verdana;
44	margin: auto;
45}
46
47</style>
48<script type="text/javascript" src="city_state.js"></script>
49</head>
50<body>
51<div id="widget">
52<form>
53Region» <select onchange="set_country(this,country,city_state)" size="1" name="region">
54<option value="" selected="selected">SELECT REGION</option>
55<option value=""></option>
56<script type="text/javascript">
57setRegions(this);
58</script>
59</select>
60Country» <select name="country" size="1" disabled="disabled" onchange="set_city_state(this,city_state)"></select>
61City/State» <select name="city_state" size="1" disabled="disabled" onchange="print_city_state(country,this)"></select>
62</form>
63<div id="txtregion"></div>
64<div id="txtplacename"></div>
65</div>
66</body>
67</html>
68
69