I am calling javascript function from apex:inputfield and also doing rerendering page same block section Item using action support as I am using depended picklist on my Visual Force page.
but after adding this
<apex:actionSupport event="onchange" reRender="pbsiType" />
it has stopped calling my javascript function on change of value event.
Below is the code I am using fro Page block section item
<apex:pageBlockSectionItem Id="pbsiType">
<apex:outputLabel value="Type"/>
<apex:inputField value="{!opp.Type__c}" id="OppType" onchange="Type('{!$Component.OppType}');">
<apex:actionSupport event="onchange" reRender="pbsiType" />
</apex:inputField>
</apex:pageBlockSectionItem>
and here is the javascript function I am calling from within.
function Type(Receivetype){
SelectedType = document.getElementById(Receivetype).value;
openLookup();
}