JavaScript Document function changecity(){ index = form2.sf.options.selectedIndex-1; form2.city.length = city[index].length; for(var i = 0;i