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!

Jquery to Access Value of Radio Group

673017Feb 13 2009 — edited Feb 16 2009
Dear all,

I have tried various ways to get the checked value of a radio group in Apex but come out empty handed. For example, the name of the radio group is "LICENCE_TYPE" as created in APEX, I have a onClick function to run in Javascript but got nothing.

var lic_val = $('input\[name=LICENCE_TYPE\]:checked').val()

but If I do the following, it worked. The p_v48 is the "name" in the HTML source and the LICENCE_TYPE is the "id" in HTML source.

var lic_val = $('input\[name=p_v48\]:checked').val()

Can anyone help me here as APEX does not expose the "name" ? Thanks.

Edited by: KA Kueh on Feb 15, 2009 7:13 PM

Edited by: KA Kueh on Feb 15, 2009 7:14 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2009
Added on Feb 13 2009
5 comments
1,508 views