How to set an Application item directlt using javascript
800899Dec 10 2010 — edited Dec 13 2010What i want:
I want to capture the value of a triggeringElement throught javascript directly into an Application item.
(so I can use this value in all my other pages)
What i have done so far:
I have created a dynamic action, Action type = Set Value
I want to capture the triggering element, so at the Setting field I have entered:
Javascript Expression: this.triggeringElement.href.slice(-44);
For Affected Elements, i now have specified an item on the current page
Selection Type: Item(s)
Item: P_MY_TEMP_ITEM
I want to capture this value into my application item therefor on my Apex Page I have created a page item (:P_MY_TEMP_ITEM)
then i have another Set Value Action of PL/SQL expression type where i have entered.
:Application_name_id := P_MY_TEMP_ITEM;
This works, but I want to have this all included in 1 action without having to use the page item
(So I can use this action on the zero page within Apex....)
Any ideas??