javascript function like $v_Array with checkbox column in report ?
399339Mar 21 2008 — edited Mar 22 2008Is 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>