When i select the picklist Complaint_type__c value as 'others' then i need to rerender the output panel. I tried in different ways using Pageblocksections but no luck.
below is my code..
<div class="container">
<div id="wrapper">
<apex:form id="theform" >
<apex:pageblock >
<div>
<apex:actionRegion >
<apex:inputfield value="{!ca.Complaint_type__c}" required="true" >
<apex:actionSupport event="onchange" rerender="otherpanel" />
</apex:inputfield>
</apex:actionRegion>
</div>
<div>
<apex:outputPanel id="otherpanel">
<apex:outputPanel rendered="if({!ca.Complaint_type__c} == 'Others',TRUE,FALSE)">
<apex:inputfield value="{!ca.Other_Type__c}" required="true" />
</apex:outputPanel>
</apex:outputPanel>
</div>
</apex:pageblock >
</apex:form>
</div>
</div>