How to set radio button value in javascript?
Hi all,
I have a radio button (name= P_Category) in my form.
The radio button consist of static value -> STATIC2:Single;U,Profile;P,None;N
Current i had retrieve the value from application process, the radiobutton is not selected after i assigned the value from application process. How can it do?
Anyone can help me?
Below is my existing javascript to get the radiobutton value from "getTestItemData" application process.
var vTestCode = document.getElementById('P11101_TI_CODE');
var get = new htmldb_Get(null,sAppId,'APPLICATION_PROCESS=getTestItemData',0);
get.add('GV_TEMP01',vTestCode.value)
gReturn = get.get();
if (gReturn)
{ html_GetElement('P11101_TI_CATEGORY').value =gReturn}