Return to Snippet

Revision: 31387
at September 3, 2010 23:23 by Xhitman


Initial Code
<script>
        // To show / hide waiting-flower icons
        function setVisibility(id, isVisible){
            document.getElementById(id).style.visibility= isVisible ? 'visible' :  'hidden';
            
        }
        
        function show(id){setVisibility(id,true);}
        function hide(id){setVisibility(id,false);}
      
</script>
 
<apex:actionstatus id="pleasewait" onstart="show('img_status_product_select');" onstop="hide('img_status_product_select');">        
<img height="20px" id="img_status_product_select" src="%7B%21$Resource.AjaxAnimation%7D" tyle="visibility:hidden" width="20px">
 
</apex:actionstatus>

Initial URL
http://force.siddheshkabe.co.in/2009/10/displaying-please-wait-ajax-animation.html

Initial Description
Credits to Siddhesh 'Ravan' Kabe

Initial Title
Displaying please wait ajax animation on Visualforce page

Initial Tags

                                

Initial Language
Other