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!

Check box selection not working

Akula123Oct 20 2023

Hi Team,

I am creating a page which has 2 regions, 1 is search criteria and the other one is an interactive report. search criteria has order number and a button to search. when the page is loaded all the orders will load up in IR and show up. when order number is entered and clicked on search . all the records from a table with pop up with matching order number in IR.

I am using checkbox2 to select this records and i have set a page item to show the records selected in IR using checkbox.

the issue is when the page is initially loaded , when i select the checkbox, that particular order numbers show up in the page item in IR. but when i enter a specific order number and click on seach. then if i select the check box. the order numbers does not populate any more in the page item.

Can some one please tell me when i must be doing wrong here.

Checkbox2 code in function and global variables:

$(document).ready(function(){
$('.myvalue').on('click',function(){
var ordnum="";
$('.myvalue:checked').each(function(){
ordnum+=$(this).val()+',';
});
ordnum=ordnum.substring(0,ordnum.length-1);
$s('P6_ORDER_NUM_VALUE',ordnum);
});
});

This post has been answered by dbliss-Oracle on Oct 22 2023
Jump to Answer
Comments
Post Details
Added on Oct 20 2023
1 comment
276 views