Set all Checkbox values to Checked

var chks=document.getElementsByName("#{id:fldName}");
for(var i=0;i<chks.length;i++){
 chks[i].checked = true;
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...