1. document.all(I).name
2. eval("document.all."+I).name
3. eval(I).name"this is a book" is not a valid javascript statement, try this:<SCRIPT LANGUAGE=javascript>
<!--
var s = new Array(100);
<% for i = 0 to 99
%>
s[<%=i%>] = "<%response.write "this is a book" %>";
<%
next
%>
//-->
</SCRIPT>
2. eval("document.all."+I).name
3. eval(I).name"this is a book" is not a valid javascript statement, try this:<SCRIPT LANGUAGE=javascript>
<!--
var s = new Array(100);
<% for i = 0 to 99
%>
s[<%=i%>] = "<%response.write "this is a book" %>";
<%
next
%>
//-->
</SCRIPT>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货