4 Replies Latest reply: Sep 10, 2013 10:25 AM by KarthikC RSS

    read apex_item.checkbox in a javascript

    KarthikC

      Hi folks,

       

                 I have a  popup report page with a check box  report like

       

      select apex_item.checkbox(1,empno) tur ,

       

             ename,

       

             job

       

      from  emp;

       

       

       

      User can click the check box and give the submit the button. I need to pass all the check box  value to the parent page through JavaScript. I know the way to get the item value through JavaScript

       

       

       

      text1 = $v("P4_COMMENTS");

       

       

       

      But i am not sure how to get all the clicked item is a Java variable. I even tried

       

       

       

      <script>

       

      function i() {

       

      av=document.getElementById("G_F01");

       

      alert(av);

       

      }

       

        </script>

       

       

       

      Document.getelement is not working  in this case.

       

       

       

      Please let me know how to fetch the

       

      apex_item.checkbox checked item in a JavaScript rather than PL/SQL block.

       

       

      Thanks in advace

      karthik