I am using the following JS on "value change" for radio group that locates in a panel:
code
var checkedRadio = Appery("mobileradiogroup_215").find(":checked").val();
localStorage.setItem("month", checkedRadio);
/code
I need to copy the value of the selected button (regardless which one is selected) into the LSV. The radiogroup name is correct, and LSV is created and had a value of "To Date" by default. However, when I click on any button , LSV gets the value "undefined" (I monitor it using chrome dev tools).
The value that I need to copy is the value I set here:
Is there anything wrong in my JS?