You need to sign in to do that
Don't have an account?
@rajeshdulhai
how to show the page is loading on the click of the button in visualforce
i have four tabs developed on my visualforce page with two buttons on each page i.e previous and next button . i want to have a functionality on click of previous and next button to show the user that the page is loading until the page is fully loaded . how can this be done ?
Thanks in advance
In the button use Status tag. For ex:
<apex:commandButton action="{!save}" value="Save" id="theButton" status="counterstatus"/>
then put the following code whereever you want to show the loading image -
<apex:actionStatus id="counterStatus">
<apex:facet name="start">
<center>
<img src="/img/loading32.gif" />
</center>
</apex:facet>
</apex:actionStatus>
Hit Kudos if this works.
Cheers!!!
Enjoy my Dost...!!!
Satish.