Like something we have document.forms. something something..
How do i get the value. There will be multiple checkboxes and i want to know the checkboxes selected.
Will be grateful if you provide some code snippet based on my example.
Same way as with any other DOM form element (although the brackets in the name will require not using the normal dot-notation, I think?)
Joined: Sep 15, 2010
Sir i have tried all possible way. Probably we need to iterate through something and then check individually if the checkbox was selected.
I tried to fetch something like this : document.forms.details.checked -- > this gave me error
document.forms.details -- > this gave me undefined
document.forms.availablePaymentDetailsList --> undefined
document.forms.availablePaymentDetailsList.length --> error