You need to sign in to do that
Don't have an account?
actionSupport action attribute not firing on "onclick" event in Internet Explorer
This code works in chrome, not in IE. How would I make it work in IE?
<apex:pageBlockSectionItem >
<apex:outputLabel value="Value 1" for="cbxlevel1"/>
<apex:outputPanel styleClass="requiredInput" layout="block">
<apex:selectList value="{!selectedId}" id="cbxlevel2" size="1">
<apex:selectOptions value="{!availableValues}"/>
<apex:actionSupport event="onclick" action="{!getStuff}" rerender="cbxlevel2"/>
</apex:selectList>
</apex:outputPanel>
</apex:pageBlockSectionItem>
getStuff does not get fired when I pick something from the selectList. It works on chrome though
Any help would be appreciated.
If someone else is having this problem - found the solution : use onblur event rather than onchange. It works like charm.
All Answers
Quick clarification, I am not using on "onclick", I am using event="onchange".
<apex:actionSupport event="onchange" action="{!getStuff}" rerender="cbxlevel2"/> works in chrome not IE
Hello, I have the same issue. Would you please tell me if you have got the solution already for this.
thank you
If someone else is having this problem - found the solution : use onblur event rather than onchange. It works like charm.
Hi Raghu,
I'm also having the sme problem with action support event.problem is action is not called. my code look like below
<apex:form id="entryform" >
<div style="float:right;">
<apex:outputText value="{!$ObjectType.Level3__c.Label}:" style="color:Black;font-size:12px;font-weight:bold;float:right;margin-left:10px;margin-top:3px">
<apex:selectList id="level3List" value="{!CurrentRunPhase}" size="1" style="float:right;width:145px;margin-left:10px;" >
<apex:selectOptions value="{!Level3s}" rendered="true"/>
</apex:selectList>
</apex:outputText>
<apex:outputText value="{!$ObjectType.Level2__c.Label}:" style="color:Black;font-size:12px;font-weight:bold;float:right;margin-left:8px;margin-top:3px">
<apex:selectList value="{!CurrentRun}" size="1" style="float:right;width:145px;margin-left:10px" id="level2Select" >
<apex:selectOptions value="{!Runitems}"/>
<apex:actionSupport event="onchange" action="{!runphaseitems}" reRender="level3List" />
</apex:selectList>
</apex:outputText>
</div>
</apex:form>
in this code i have two combo boxex,intially i'm selected current run and based on current run i want current runpahses.
current run is master and current run pahse item is child.
i'm not able to execute "runphaseitems" function .plz tell me the sol.
Thanks....