Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to set radio button value in javascript?

Apex JuniorJun 14 2010 — edited Jun 15 2010
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}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2010
Added on Jun 14 2010
1 comment
837 views