-
VBScript within javascript
I have a javascript function that spits out some vbscript variables, but am sure how to use the javascript loop in tandem with it.
for example, alert('<%=games(1)%>'); displays the vbscript value of games(1). How can i have it display 1, 2, 3, etc through the loop?
for (i=0; i<=4; i++) {
alert('<%=games(" + i + ",3)%>'); doesn't work
alert('<%=games(' + i + ',3)%>'); also doesn't work.
}
is there a way to easily accomplish this?
-
you'll have to do the loop in vb, or spit out a javascript array, and loop through that.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks