- Sun Jul 14, 2019 12:46 am
#825410
Can you disable certain option in radio button when dropdown selection change
$("#selectColor").setOnchange( function(newVal, oldVal) {
if (newVal == "blue") {
//first enable all radio options:
$("#selectFurniture").find("input.pmdynaform-control-radio").prop("disabled", false);
//then disable one of the radio options:
$("#selectFurniture").find("input.pmdynaform-control-radio[value=chair]").prop("disabled", true);
//if "chair" is the selected option, then unset the value in the radio box:
if ($("selectFurniture").getValue() == "chair") {
$("selectFurniture").setValue(""); //set to the first available option which isn't "chair"
}
}
});
Hello. For rental housing, there are software solu[…]
Experience heightened pleasure with Cenforce 100 M[…]
Get an instant solution to move emails to MBOX for[…]