springmvc和spring整合需要注意哪些问题
1个回答
展开全部
springmvc和spring整合需要注意哪些问题
function areaInitialize(){
province.length=1;
for(var i = 0;i<provinceArray.length;i++){
var pro = provinceArray[i].pname;
province.options[province.length] = new Option(pro,pro);
}
}
function changeCLocation(id,city){
//alert(id);
city.length = 0;
if(id>0){
var j=id-1;
var i;
var countrys = new Array();
countrys = provinceArray[j].country;
city.options[0] = new Option('不限','');
for (i=0;i < countrys.length; i++){
var cname = countrys[i].cname
city.options[city.length] = new Option(cname, cname);
}
changeTLocation(id,1,town);
}else if(id==0){
city.length = 0;
town.length = 0;
city.options[city.length] = new Option('不限','');
town.options[town.length] = new Option('不限','');
}
}
function areaInitialize(){
province.length=1;
for(var i = 0;i<provinceArray.length;i++){
var pro = provinceArray[i].pname;
province.options[province.length] = new Option(pro,pro);
}
}
function changeCLocation(id,city){
//alert(id);
city.length = 0;
if(id>0){
var j=id-1;
var i;
var countrys = new Array();
countrys = provinceArray[j].country;
city.options[0] = new Option('不限','');
for (i=0;i < countrys.length; i++){
var cname = countrys[i].cname
city.options[city.length] = new Option(cname, cname);
}
changeTLocation(id,1,town);
}else if(id==0){
city.length = 0;
town.length = 0;
city.options[city.length] = new Option('不限','');
town.options[town.length] = new Option('不限','');
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询