H
hon123456
Dear all,
I have the following java code:
<script language="javascript" type="text/javascript">
var customearray = new array(400);
for (var i=0;i<400;i++) {
customarray = "'" + <%=rs("name")%> + "'";
}
</script>
The broser complians at for (var i=0;i<400;i++) {customarray = "'"
+ <%=rs("name")%> + "'";}
It saids ";" is needed. What's wrong with my code?
Thanks.
I have the following java code:
<script language="javascript" type="text/javascript">
var customearray = new array(400);
for (var i=0;i<400;i++) {
customarray = "'" + <%=rs("name")%> + "'";
}
</script>
The broser complians at for (var i=0;i<400;i++) {customarray = "'"
+ <%=rs("name")%> + "'";}
It saids ";" is needed. What's wrong with my code?
Thanks.