省份和城市之间应该有个字段关联的
set rs=conn.execute("select * from lsml.dbo.city order by cityid") 
你这样是查找出所有的城市
而不是 根据你所选的省份查找出这个省份的城市 

解决方案 »

  1.   

    for(i=0;i <j;i++) 

    if(goalert[i][1]=provinceid1) 

    document.myform.city.options[document.myform.city.length]=new Option(goalert[i][0],goalert[i][2]); 


    ==>
    for(i=0;i <j;i++) 

    if(goalert[i][1]==provinceid1) 

    document.myform.city.options[document.myform.city.length]=new Option(goalert[i][0],goalert[i][2]); 

      

  2.   

    可以下载这个看看,无限级连菜单,省市联动的:
    http://download.csdn.net/source/379164
      

  3.   

    发生成的html代码我怎么发现这个和我以前改的一个很接近....不过忘记是哪个帖子了