Código HTML:
<form id="form1" name="form1" method="post" action="enviar.php"> <table width="100%" border="0"> <tr> <td width="11%" align="right"></td> <td width="89%"><label> <input name="nombre" type="text" disabled="disabled" id="nombre" value="texto" size="1" /> <input name="apellidos" type="text" disabled="disabled" id="apellidos" value="texto" size="1" /> <input name="empresa" type="text" disabled="disabled" id="empresa" value="texto" size="1" /> <input name="direccion" type="text" disabled="disabled" id="direccion" value="texto" size="1" /> <input name="telefono" type="text" disabled="disabled" id="telefono" value="666666666" size="1" /> <input name="ciudad" type="text" disabled="disabled" id="ciudad" value="texto" size="1" /> </label></td> </tr> <tr> <td align="right">Email:</td> <td><label> <input type="text" name="email" id="email" /> </label></td> </tr> <tr> <td align="right">País:</td> <td><select name="pais" id="pais" onChange="if(this.value == 'es') { switchSelect(document.getElementById('provincia'),'select'); } else { switchSelect(document.getElementById('provincia'),'text'); }"> <option selected="selected">País...</option> <option value="es">España</option> <option value="Eurozona">Eurozona</option> <option value="No Eurozona">No Eurozona</option> </select></td> </tr> <tr> <td align="right">Provincia</td> <td><select name="provincia" id="provincia"> <option selected="selected">Provincia...</option> <option value="Alacant">Alacant</option> <option value="Alava">Alava</option> <option value="Albacete">Albacete</option> <option value="Almería">Almería</option> <option value="Asturias">Asturias</option> <option value="Ávlia">Ávlia</option> <option value="Badajoz">Badajoz</option> <option value="Barcelona">Barcelona</option> <option value="Burgos">Burgos</option> <option value="Cáceres">Cáceres</option> <option value="Cádiz">Cádiz</option> <option value="Cantabria">Cantabria</option> <option value="Castellón">Castellón</option> <option value="Ciudad Real">Ciudad Real</option> <option value="Córdoba">Córdoba</option> <option value="Coruña (A)">Coruña (A)</option> <option value="Cuenca">Cuenca</option> <option value="Girona">Girona</option> <option value="Granada">Granada</option> <option value="Guadalajara">Guadalajara</option> <option value="Guipúzcoa">Guipúzcoa</option> <option value="Huelva">Huelva</option> <option value="Huesca">Huesca</option> <option value="Illes Balears">Illes Balears</option> <option value="Jaén">Jaén</option> <option value="La Rioja">La Rioja</option> <option value="Las Palmas">Las Palmas</option> <option value="León">León</option> <option value="Lleida">Lleida</option> <option value="Lugo">Lugo</option> <option value="Madrid">Madrid</option> <option value="Málaga">Málaga</option> <option value="Murcia">Murcia</option> <option value="Navarra">Navarra</option> <option value="Ourense">Ourense</option> <option value="Palencia">Palencia</option> <option value="Pontevedra">Pontevedra</option> <option value="Salamanca">Salamanca</option> <option value="Santa Cruz de Tenerife">Santa Cruz de Tenerife</option> <option value="Segovia">Segovia</option> <option value="Sevilla">Sevilla</option> <option value="Soria">Soria</option> <option value="Tarragona">Tarragona</option> <option value="Teruel">Teruel</option> <option value="Toledo">Toledo</option> <option value="Valencia">Valencia</option> <option value="Valladolid">Valladolid</option> <option value="Vizcaya">Vizcaya</option> <option value="Zamora">Zamora</option> <option value="Zaragoza">Zaragoza</option> </select> </td> </tr> <tr> <td align="right"> </td> <td><label> <input type="submit" name="button" id="button" value="Enviar" /> </label></td> </tr> </table> </form>