JSP中运行ASP数组问题!!50分
wauo 2003-07-22 02:58:29 <%dim arrdepot(20)
for j=0 to 19
arrdepot(j)=...
next%>
JSP中函数如下
function test(aaa)
{
for (i=0;i<<%=arrdepot().lenght%>;i++)
{
alert("add")
SelectItems.options.add(oOption);
SelectItems.options[i].text=arrdepot(i);
SelectItems.options[i].value=arrdepot(i);
}
}
程序报错,怀疑JSP中arrdepot().lenght有错,请高手指教!!