Has anyone able to successfully get the selected value of the dataverse Yes / No choice?
I am trying to get the value of the selected choice but unable to do it.
$(document).ready(function () {
$("#cr6bb_terminationForm").change(onDisplaySectionChange);
onDisplaySectionChange();
});
function onDisplaySectionChange() {
var selectedOption = $('input[name="#cr6bb_requirespasswordchange"]:checked').val();
alert(selectedOption)
}
for testing, this is the code I made but it gives me an alert of "undefined"
anyone managed to get through this?
Categories: