也不知道是什么原因?
<script language="JavaScript">function bb(num){
city = new Array();
//读数据库生成数组
<%sql = "select id,name,addr,tel from [fhdw] order by fhdwid desc"
rs.open sql,conn,1,1
do while net rs.eof>
city[<%=rs("id")%>]= new Array("<%=rs("addr")%>","<%=rs("tel")%>","1");
<%rs.movenext
loop
rs.close%>
form1.tt1.value=city[num][0];
form1.tt2.value=city[num][1];
}
</script>
的确是没有用我帮顶~~~