- Thu Aug 16, 2018 12:48 am
#815712
Hi Amo,
I was wondering is it possible to change the radio button values dynamically?
I know that we can use js to change the dropdown like this:
Thanks in advance,
Yuan
I was wondering is it possible to change the radio button values dynamically?
I know that we can use js to change the dropdown like this:
Code: Select all
Is it possible to change the radio button values as well?var iField = $("[id='form[A1_I]']");
iField.prop("length", 0);
iField.empty().append('<option value="">Please select...</option>');
iField.append(new Option( "Yes", "Yes" ));
iField.append(new Option( "No", "No" ));
iField.append(new Option( "NA", "Not Sure" ));
Thanks in advance,
Yuan