You need to sign in to do that
Don't have an account?

rerender not working help plz...
<apex:page name="Queue Criteria" tabStyle="Contact" id="Page" title="Criteria" standardController="Queue_Criteria__c" extensions="QueueCriteriaStdController">
<apex:form id="Form" title="Criteria">
<apex:sectionHeader title="Queue Criteria" subtitle="New Queue Criteria" id="PSHeader"/>
<apex:pageBlock title="Queue Criteria Edit" id="PBlock" tabStyle="Contact" mode="edit">
<apex:pageMessages >
</apex:pageMessages>
<apex:pageBlockButtons >
<apex:commandButton value="Save" action="{!save}" />
<apex:commandButton value="Save & New" />
<apex:commandButton value="Cancel" action="{!cancel}" />
</apex:pageBlockButtons>
<apex:pageBlockSection title="Information" columns="2" id="PBSection" collapsible="false">
<apex:inputField value="{!Queue_Criteria__c.Name__c}" required="true"/>
<apex:inputField value="{!Queue_Criteria__c.Contact_Name__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection columns="1" collapsible="false" >
<apex:selectList > value="{!Queue_Criteria__c.Operator__c}" required="true" >
<apex:actionSupport event="onmouseover" reRender="UBV2"/>
</apex:selectList>
<apex:inputField value="{!Queue_Criteria__c.Bounded_Value__c}"/>
<apex:inputField value="{!Queue_Criteria__c.UnBounded_Value1__c}" styleClass="hidden"/>
</apex:pageBlockSection>
<apex:outputPanel id="UBV2" >
<apex:pageBlockSection id="pbs" rendered="{!IF((Queue_Criteria__c.Operator__c=='Between'),true,false)}" >
<apex:inputField value="{!Queue_Criteria__c.UnBounded_Value2__c}" />
</apex:pageBlockSection>
</apex:outputPanel>
</apex:pageBlock>
</apex:form>
<script>
function callUBV()
{
var Opr=document.getElementById('Page:Form:PBlock:j_id32:j_id33').value;
}
</script>
</apex:page>
I think there is some syntax error in below line
<apex:selectList > value="{!Queue_Criteria__c.Operator__c}" required="true" >
Please see below working sample code.
<apex:form id="Form" title="Criteria">
<apex:sectionHeader title="Queue Criteria" subtitle="New Queue Criteria" id="PSHeader"/>
<apex:pageBlock title="Queue Criteria Edit" id="PBlock" tabStyle="Contact" mode="edit">
<apex:pageMessages >
</apex:pageMessages>
<apex:pageBlockButtons >
<apex:commandButton value="Save" action="{!save}" />
<apex:commandButton value="Save & New" />
<apex:commandButton value="Cancel" action="{!cancel}" />
</apex:pageBlockButtons>
<apex:pageBlockSection title="Information" columns="2" id="PBSection" collapsible="false">
<apex:inputField value="{!Queue_Criteria__c.Name__c}" required="false"/>
<apex:inputField value="{!Queue_Criteria__c.Contact_Name__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection columns="1" collapsible="false" >
<apex:inputField value="{!Queue_Criteria__c.Operator__c}" required="false"/>
<apex:inputField value="{!Queue_Criteria__c.Bounded_Value__c}"/>
<apex:inputField value="{!Queue_Criteria__c.UnBounded_Value1__c}" styleClass="hidden"/>
<apex:inputField value="{!Queue_Criteria__c.UnBounded_Value2__c}" rendered="{!JSENCODE(Queue_Criteria__c.Operator__c) = 'Between'}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
<script>
function callUBV()
{
var Opr=document.getElementById('Page:Form:PBlock:j_id32:j_id33').value;
}
</script>
</apex:page>
changed the code..
but still facing the problem