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);
});
});