I have read through many posts and tried many various ways but none seem to work. I have a radio button with 4 values and when the user clicks on a Delete Button I would like the radio button to change to that value using javascript. The code I am using is below, when I click on the but button, the documents submits but it does not change the value of the radio button. Thank you for taking the time to read this.
*** Code used in JS Header Web ***
function del(){
document.forms[0].HidStatusOrig.value=“Cancelled”
document.forms[0].submit()
}
*** Code put on button in onClick Web Javascript ***
del()