<script type="text/javascript">_init_area();</script>是什么意思?
它和在select里面的onchange方法里调用有什么区别?<divdata-role="fieldcontain"><selectid="s_province"nam...
它和在select里面的onchange方法里调用有什么区别?
<div data-role="fieldcontain">
<select id="s_province" name="s_province" onchange="_init_area();"><option value=""><%= customer.getProvince()%></option></select>
<select id="s_city" name="s_city"><option value=""><%= customer.getCity()%></option></select>
<select id="s_county" name="s_county"><option value=""><%= customer.getCounty()%></option></select>
<!-- <script class="resources library" src="/xiaoxiongzhijia/pages/js/area.js" type="text/javascript"></script> -->
</div>
另外怎样让它像上面程序一样在显示数据库内容后还能调用_init_area();函数? 展开
<div data-role="fieldcontain">
<select id="s_province" name="s_province" onchange="_init_area();"><option value=""><%= customer.getProvince()%></option></select>
<select id="s_city" name="s_city"><option value=""><%= customer.getCity()%></option></select>
<select id="s_county" name="s_county"><option value=""><%= customer.getCounty()%></option></select>
<!-- <script class="resources library" src="/xiaoxiongzhijia/pages/js/area.js" type="text/javascript"></script> -->
</div>
另外怎样让它像上面程序一样在显示数据库内容后还能调用_init_area();函数? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询