Monday, January 27, 2014

How to show loading image while Ajax call in Visualforce? OR how to show image in tag in Visualforce

How to show loading image while Ajax call in Visualforce? OR how to show image in <apex:actionStatus> tag in Visualforce

<div style="position:absolute;top:20px;left: 50%;">
            <apex:actionStatus id="refreshContent" >
               <apex:facet name="start" >
                <apex:image url="{!$Resource.LoadingImage}" />
               </apex:facet>
             </apex:actionStatus>
         </div>

<apex:actionStatus startText=" (incrementing...)" stopText=" (done)" id="counterStatus" />


No comments:

Post a Comment