<%
String[] name = { "w ", "a ", "n ", "g"};
%>
<script>
var newname=new Array();
<% for(int i=0;i <name.length;i++){ %>
newname[ <%=i%> ]= " <%=name[i]%> ";
<% } %>
</script>
时间: 2024-10-20 22:04:27