troubleshooting Question

get all checkbox status in a form

Avatar of quanghoc
quanghoc asked on
JavaScript
3 Comments1 Solution732 ViewsLast Modified:
I don't have much time to research about Javascript. However, I have a good knowledge about programming generally. Here is the description of my problem:
+ Given a form name 'myform'
+ Given multiple checkbox with different id name
+ Perform a loop to scan through all available checkboxes in the form and see if the checkbox is check, then get the value in put into a string 'str'. The seperator string is "|||". If the checkbox is uncheck, then do nothing.
The things that I don't know is how to scan through the form and "know" all the checkboxes and get the value/status of it. Please help. Thanks.
ASKER CERTIFIED SOLUTION
third

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros