[求助]怎么从数据库中取值赋给javascript函数里的变量数组
<%
sql="select array from SHarray"
set rs=conn.execute(sql)
do while not rs.eof
rs.movenext
loop
%>
给数组赋值
<script language="javascript">
var dogs=new Array("province","puli","greyhound");
var birds=new Array("robin","hummingbird","crow");
var fish=new Array("trout","mackerel","bass");
</script>
假如里面再加一个数组array,我想把从数据表SHarray里面查询出来的array字段的值全部赋给javascript里面的数组array,怎么弄啊,我想到要取得记录集的总数,然后用循环给数组赋值,可是怎么从asp连到javascript里面去呢?哎,一点都不明白,还请高人指点.