<div class="info">
<div>
<select id="s_province" name="s_province"></select>
<select id="s_city" name="s_city" ></select>
<select id="s_county" name="s_county"></select>
<script class="resources library" src="//sandbox.runjs.cn/uploads/rs/267/g3ugugjp/area.js" type="text/javascript"></script>
<script type="text/javascript">_init_area();</script>
<!--页面初始化的时候需要调用一次_init_area()-->
</div>
<div id="show"></div>
</div>
<script type="text/javascript">
var Gid = document.getElementById;
console.dir(Gid);
var showArea = function(){
Gid('show').innerHTML = "<h3>省" +
Gid('s_province').value + " - 市" +
Gid('s_city').value + " - 县/区" +
Gid('s_county').value + "</h3>"
}
Gid('s_county').setAttribute('onchange','showArea()');
</script>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。