How to get global item value using javascript or ajax!!
647767Jun 17 2011 — edited Jun 18 2011Hello !
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