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
Mayank_JoshiMayank_Joshi 

on button click

hi..

i need to show waiting spinner on button click..help needed.

SatgurSatgur

You can employ <apex:actionStatus> & <apex:facet> to achieve the same.

 

One of the references from VF guide -

     <apex:actionStatus >
           <apex:facet name="start">
                   <img src="{!$Resource.spin}"/> <!-- A previously defined image -->
           </apex:facet>
    </apex:actionStatus>

 

Hope this helps.

 

- Satgur