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