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

Enabling or disabling controls on vfpage based on picklist value........?

hi frnds,


 i am working with following scenario.....  i have picklist,based on the seleted picklist value we need to enable textboxes or radio buttons(some fields) or disabling some controls ..............pls help me in this scenario.....




Thank u


Best Answer chosen by Admin (Salesforce Developers) 

 hi friends ,i got solution....


call this in javascript


     var value3=document.getElementById('page:form:pb:pbs1:t4').disabled=false;




Thank u


SFDC Blue fish