前一篇的二级级联的应用

 <!-- begin 级联 -->
<script	src="<%=request.getContextPath()%>/js/jquery-1.4.2.min.js?v=${SUPPORT_VERSION}"></script>
<script type="text/javascript" 	src="<%=request.getContextPath()%>/js/jquery.easyui.min.js"></script>
<SCRIPT LANGUAGE="JavaScript" src="<%=request.getContextPath()%>/js/ajaxselect.js?v=${SUPPORT_VERSION}"></SCRIPT>
<script type="text/javascript">   
	$(function (){
		$("#selRegion").change(function () {
			 
			Array2SelectList($("#selOffice")[0],"${applyFormInfoBean.applicant_region_id}", Dept2_Array, $('#selRegion').val());
		});
    });  
</script>

级联的

<!-- begin 级联 -->
<script type="text/javascript">
	var Dept1_Array = new Array(); //行政区域下拉框数据数组申明
	var Dept2_Array = new Array(); //办事处下拉框数据数组申明 
</script>
<SCRIPT LANGUAGE="JavaScript" id="TagDept1"	src="<%=request.getContextPath()%>/BuildArrayServlet?lang=<%=nls%>&ArrayName=Dept1_Array&ParentID=">
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" id="TagDept2"	src="<%=request.getContextPath()%>/BuildArrayServlet?lang=<%=nls%>&ArrayName=Dept2_Array&ParentID="></SCRIPT>
<!-- end 级联 -->

你可能感兴趣的:(二级级联)