It always stay on Null.
this is my code:
Controller:
public String selectedReason {get; set;}
VF:
<apex:actionSupport event="onchange" rerender="OptionReason"/>
<apex:outputLabel value="{!$ObjectType.Case.fields.Reason.Label}"/> <apex:selectList id="OptionReason" value="{!selectedReason}" multiselect="false" size="1"> <apex:selectOptions value="{!reasonOptions}"/> </apex:selectList>1 answer
Share your apex code as well where you are trying to access the value of selectedReason.