I have an issue regarding some Client JS embedded on an XPage.
I want to get the elements shown in the picture with Javascript (DOM), and I am unable to set a classname to the Input directly because the "</xp:checkBoxGroup>
" tag (in XPS) generates fieldsets and tables with the classname around the input instead of applying the classname directly to the input.
Is what I'm trying to do possible?
I looked into CSS selectors again and found a selector that matches my needs:
function getSelection(){
var group = document.querySelectorAll("input:checked");
return group;
}