Re: What happened to my code
- From: apatheticagnostic <apatheticagnostic@xxxxxxxxx>
- Date: Mon, 28 Apr 2008 22:52:14 -0700 (PDT)
On Apr 29, 12:52 am, hon123456 <peterhon...@xxxxxxxxxxxx> wrote:
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[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.
What does <%= rs("name") %> expand to? Also, this is getting expanded
server-side, right?
.
- Follow-Ups:
- Re: What happened to my code
- From: hon123456
- Re: What happened to my code
- References:
- What happened to my code
- From: hon123456
- What happened to my code
- Prev by Date: Re: What happened to my code
- Next by Date: Re: What happened to my code
- Previous by thread: Re: What happened to my code
- Next by thread: Re: What happened to my code
- Index(es):