function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<head> <!--Script--> <apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"/> <script> function jsFunction() { var dropdownValue = $("[id$='seleclst']").val(); if(dropdownValue == "valueA") //Lets suppose a value. { $("[id$='btn']").hide(); } } </script> </head> <!--vf page snippet--> <apex:selectList id="seleclst" required="true" size="1" value="{!aval}" onchange = "jsFunction(); return false;" > <apex:selectOptions value="{!aname}" /> </apex:selectList> <apex:CommandButton id="btn" value="action Button" />
yes it is possible, Please refer below code snippet
Please let me know if above code snippet hepls you
Thank You
Akshit