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

actionSupport AJAX not working in IE8, Google Chrome, or Safari

I have a VisualForce page built that allows users of our SalesForce instance to run an advanced search on objects.  This page uses actionSupport and outputPanel to utilize AJAX for different sections of the page.  The problem is that the AJAX does not seem to fire in IE8, Google Chrome, or Safari.  It works just fine in FireFox 3.5.  Why does this only work in Firefox? 


Below is some code showing my actionSupport usage.


 <apex:page controller="searchController" name="advancedSearch" Label="Advanced Search" title="Advanced Search">
<style type="text/css">
.unitDisabled {background-color: lightgray; }
.customMessage {background-color: #FFFFCC; border-style: solid; border-width: 1px; border-color: #3399FF; color: #000000; padding: 12px 14px 12px 12px; margin: 0 0 4px; }
  <apex:form >
     <apex:pageBlock title="Choose Search Type" >
         <apex:outputPanel >
           <apex:selectRadio value="{!searchType}">
               <apex:selectOptions value="{!searchChoice}" />
         <apex:actionSupport event="onchange" action="{!toggleVisibility}" rerender="searchCriteria,businessUnit,searchStatus"></apex:actionSupport>
     <apex:outputPanel id="businessUnit">
           <apex:pageBlock title="Choose Business Unit" >
               <apex:selectList value="{!selectedUnits}" multiselect="true" disabled="{!unitDisabled}" disabledClass="unitDisabled">
                   <apex:selectOptions value="{!businessUnitList}" />
                       <td style="vertical-align: middle;">
                   <apex:outputText value="Business Unit Selection is disabled for Consultant Search." rendered="{!showUnitDisabled}" styleClass="customMessage"/>
     <apex:pageBlock title="Choose Owner">
           <apex:selectList value="{!selectedOwner}" multiselect="false" size="10">
               <apex:selectOptions value="{!userList}" />
     <apex:outputPanel id="searchCriteria">


          // Where users enter their search criteria and search.



I'm seeing the same behavior on IE8 as well. I have a selectRadio with actionSupport that loads subsequent options for other selectRadio controls. It works just fine in FF 3.5.3.
NJDeveloper019, try changing the "event" in your actionSupport components from "onchange" to "onclick". That did the trick for me in IE8.