Setting Item Values With Radio Buttons
493904Jul 28 2010 — edited Jul 29 2010I have a radio button that will either have the value of 1 or 2.
I have 2 page items, one is a select list and the other a text field.
What I need to do is, if the radio button value = 1 then the select list should have a value of 1 and the text field should be disabled.
I can disable the text field with no problem using
[function NMTRadio(pThis){
lTest = pThis.value == '1'
html_disableItems, 'PXX_PRICE');
}
]
[onChange="javascript:NMTRadio(this);"]
I can't get it to change the value of the select list. I have tried several things, but to no avail.
Cheers
Gus