Get the Display and Return value of a Popup LOV item using javascript in Oracle APEX
Popup LOV is the most common LOV type used in Oracle APEX.
This blog explains how to get the Display and Return value of a Popup LOV using java script.
1) Create a Popup LOV item (In this example they are P1_COUNTRY_LOV)
2) Create two page items to store the captured display and return values.
(In this example they are P1_COUNTRY_DISPLAYVAL, P1_COUNTRY_RETURNVAL)
3) Create a Dynamic action
Event: Change
Selection Type: Item
Item: P1_COUNTRY_LOV
4) Create a True Action
Action: Execute JavaScript Code
Paste the below code:Note: If the value of the changed Popup LOV has to be set to another Popup LOV, use the below java script code.
Click here for DEMO
HAPPY CODING!!!
Thank you :)
gracias estaba buscandolo y buscandolo
ReplyDeleteHow to use this method for Interactive grid, when I need some columne to be POPup LOV
ReplyDelete