function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pok LauPok Lau 

How to populate second dropdown based on selection of first dropdown

Hi , Can anyone help me out with  populateing a  second dropdown based on selection of first dropdown using jQuery/AJAX . The first drop down is also dynamic.

Appreciatre all tyhe help.
Vishal_GuptaVishal_Gupta
Hi,

you can call actionfunction onchange of first dropdown and set second dropdown value in controller and rerender second dropdown section.

onChange of first dropdown --> call actionfunction(which set second dropdown value in controller) --> In rerender you can refresh second dropdown section.

Thanks,
Vishal