Ejemplo 1: seleccionar html de país
the source code is in the link
Ejemplo 2: lista desplegable de países y ciudades en html
DOCTYPEHTMLPUBLIC"-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Region > Country > Divisiontitle><styletype="text/css">bodybackground:#000;#widgetwidth:780px;height:480px;font: normal 10px verdana;text-align: center;margin:40px auto;border:5px#aaa;border-style: outset inset inset outset;background:url(http://www.grsites.com/textures/misc/misc142.jpg);formwidth:98%;margin:200px060px0;selectwidth:190px;font: normal 11px verdana;color:#fff;background:#000;#txtregionwidth:98%;height:16px;font: normal 12px verdana;letter-spacing:.4em;margin: auto;border-bottom:1pxblack solid;#txtplacenamewidth:98%;height:16px;font: normal 10px verdana;margin: auto;style><scripttype="text/javascript"src="city_state.js">script>head><body><divid="widget"><form>
Region» <selectonchange="set_country(this,country,city_state)"size="1"name="region"><optionvalue=""selected="selected">SELECT REGIONoption><optionvalue="">option><scripttype="text/javascript">setRegions(this);script>select>
Country» <selectname="country"size="1"disabled="disabled"onchange="set_city_state(this,city_state)">select>
City/State» <selectname="city_state"size="1"disabled="disabled"onchange="print_city_state(country,this)">select>form><divid="txtregion">div><divid="txtplacename">div>div>body>html>
Acuérdate de que tienes la capacidad de agregar una reseña si diste con la respuesta.
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)