You could try adding this to all the radio buttons.
onclick="updateToggleDive('nameOfDiv')";
so you on the work_type_im you can add the name of the replacement to 'requestDate' where 'nameOfDIv' is and put 'requestDate' on all the others.
Give the proceed link an id of "proceedLink" or something
Then after the radios add this
- Code: Select all
<script type="text/javascript">
function updateToggleDiv(divName)
{
document.getElementById('proceedDiv').onmousedown = function () {
toggleDiv('requestMed');
toggleDiv(divName);
}
</script>
Cheers,