Hi all,
Without meaning to call out for a script, I have a option/dropdown but if the radio selects a certain option how do i get it to alter the dropdown to a different option.
DROPDOWN BEFORE RADIO
1
2
3
4 - Manual Selection
RADIO [A] [B]
Selecting B will change the Dropdown
DROPDOWN AFTER RADIO
1
2 - Automated Selection
3
4
The closest i could come to is a radio alters another radio but i cant seem to get the dropdown to change
<script>
var p = document.getElementById("enterprise");
var p2 = document.getElementById("standard");
var p3 = document.getElementById("domainyes");
var p4 = document.getElementById("domainno");
p.onclick = updateRadio;
p2.onclick = updateRadio;
function updateRadio()
{
p3.checked = p.checked;
p3.disabled = p.checked;
p4.disabled = p.checked;
}
</script>