Mui popover displays the selected value

how to get the click value, which boss knows to ask for information

Mui
Feb.27,2021

if it is multiple choice: var checkboxArray = [] .slice.call (list.querySelectorAll ('input [type = "checkbox"]'));

)
    var checkedValues = [],checkedNames = [];
    checkboxArray.forEach(function(box) {
        if (box.checked) {
            checkedValues.push($(box.parentNode).attr('data-value'));
            checkedNames.push($(box.parentNode).attr('data-tags'));
            //checkedValues.push(box.parentNode.innerText);
        }
    });

Radio can use the jq method var checkboxArray = $('- sharplist'). Find ('input [type = "radio"]: checked');

Menu