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
You can use a get;set; to get selected picklist values in your apex.
You can use below code:
Page:
<apex:selectList value="{!selectedCountry}" multiselect="false" size="1">
<apex:selectOption itemValue="INDIA" itemLabel="India"/>
<apex:selectOption itemValue="USA" itemLabel="USA"/>
<apex:selectOption itemValue="United Kingdom" itemLabel="UK"/>
</apex:selectList>
Class:
public String selectedCountry {get;set;}
Warm Regards,
Darshan Shah