Dynamic Drop down in Apex
Hi all,
I need to dynamically fill the select list of say Element B depending on the value selected in another select list say Element A.
For Example: when Element A contains the list of countries and Element B contains the states of the countries selected in Element A. ie. when i select the "India" as the value in Element A, the Element B should contain the states of "India".
I have referred to the link given below
http://www.oraclealchemist.com/wp-content/uploads/2006/11/s281946.pdf
and i have successfully created the Javascript and application processes required.
But the problem is, previously i have used the LOV for Element B which retrieves all values from the database irrespective of value selected in Element A, still the same values are displayed. ie. previously i have created a LOV which displays all the states from all the countries irrespective of the value selected in Element A. I need to load the Element B depending on the values selected in Element B.
Regards,
Balaji Radhakrishnan.