javascript - how to use a progressing image on button click in user control pages -


i have page consists of ajax tabbed panel. each tab uses same user control page. in pages on button click event, placing progressing image untill page loads. functionality working in 1 tab, not working in tabs.

help me out in finding solution.

`<script type="text/javascript"> function buttonclicked() {     //        document.getelementbyid("formsubmitbutton").style.display = "none"; // undisplay     document.getelementbyid("buttonreplacement").style.display = ""; // display     return true;  } var firstloading = true; function restoresubmitbutton() {     if (firstloading) {         firstloading = false;         return;     }     //document.getelementbyid("formsubmitbutton").style.display = ""; // display     document.getelementbyid("buttonreplacement").style.display = "none"; // undisplay } // disable restoring submit button, disable or delete next line. document.onfocus = restoresubmitbutton; 

`


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -