|
-
Oct 7th, 2001, 11:49 PM
#1
Thread Starter
PowerPoster
URGENT JavaScript problem...
Hey all.
I have an .asp page in which a form is created by Server-Side VBScript.
In the form I have a set of checkboxes named:
checkbox0
checkbox1
.
.
.
checkboxN
(N can range from about 4 to 10 depending on the creation script)
I need to use JavaScript to verify the form input.
How do I refer to these checkboxes in a for loop?
Is that possible?
eg:
for (i = 0; i < N; i++) {
window.alert(document.form.<B>(checkbox + i)</B>.value)
}
This is a big problem for me right now...
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
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
|
Click Here to Expand Forum to Full Width
|