5 Replies Latest reply on Jul 3, 2014 12:18 AM by Lmocsi

    How to reference apex_item.text(n) from javascript?

    Lmocsi

      Hi,

       

      I'm using Apex 4.2.2, and created some apex_items like

       

      select

         APEX_ITEM.TEXT(1) h1,

         APEX_ITEM.TEXT(2) h2,

         ...

      from <table>

       

      I know, I can reference these fields from PL/SQL with apex_application.g_f01 (-g_f02).

      The question is: how do I reference them from javascript? I'd like to disable/enable them based on some user intervention...

       

      Unfortunately apex.item('g_f11').disable(); or apex.item('f11').disable(); or apex.item('11').disable(); does not work.

       

      Any help is appreciated.

       

      Lmocsi