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!

javascript function like $v_Array with checkbox column in report ?

399339Mar 21 2008 — edited Mar 22 2008
Is there some javascript function that could be used to collect values from checked checkboxes in report ( column generated with APEX_ITEM.CHECKBOX ) and returns an array of values, similar like $v_Array does it for checkbox items ?

For example SQL query report source would look like this:

select
object_name,
apex_item.checkbox( 33,object_id ) cb
from user_objects

I would like to get an javascript alert with comma ( or semicolumn ) separated values of checked object ids.

<script type="text/javascript">
function show_ids () {
var checked_rows = $v_Array('f33');
alert(checked_rows);
}
</script>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 19 2008
Added on Mar 21 2008
6 comments
1,542 views