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!

How to get global item value using javascript or ajax!!

647767Jun 17 2011 — edited Jun 18 2011
Hello !

How can I read from global(aplication item created in shared components) using ajax or javascript?!
Lets imagine that I need to get value of that item only by function like:
-----
function getText() { var itemVal=$x('MY_GLOBAL_ITEM').value; return itemVal; }
-----
....but I connot do it because it is not renderd on page couse it is global item! Soo do somebody know any workaround to do it??
I know that I can do page item and read value from it , but this is not what I realy need!
If I have 100 pages and every page need to use my function, it would need 100 items :) - that is why its not good way!

Please share yours Ideas!

Thx
This post has been answered by Tyson Jouglet on Jun 17 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2011
Added on Jun 17 2011
3 comments
1,043 views