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
Pavan VadlamudiPavan Vadlamudi 

Action support and action function call for same event

I have the code in vf page where i need to fire the actionsupport and actionfunction on same field.Here the code i i have written.As per the code only one action is excustion at a time as both are on same event but i need to run these two actions at a time.Can you help me out here please.
         <apex:actionRegion >
            <apex:pageBlockSection columns="2" >
                <apex:inputField value="{!opp.StageName}" id="stageId" label="Status" onchange="hideOppSection()">                                   
                    <apex:actionSupport action="{!getoppFields}"  event="onchange" reRender="pg,theForm" /> 
                    <apex:actionFunction action="{!gethideOppSection}"  name="hideOppSection"   reRender="pg,theForm"/>     
                </apex:inputField>
            </apex:pageBlockSection>                
        </apex:actionRegion>