Guest eXtaZa222 Posted July 2, 2006 Share Posted July 2, 2006 Hello all,I want to know how can I write the word "calc..." when the script is loading, and hide it when the script finished to load? I have a PHP script that takes a lot of time untill he writes the result, and I want to write for the user that are waiting "calc...." , and when it shows the result I want to hide that word. How can I do that? Thanks a lot. Quote Link to comment https://forums.phpfreaks.com/topic/13495-how-can-i-show-a-message-when-the-script-is-loading/ Share on other sites More sharing options...
nogray Posted July 3, 2006 Share Posted July 3, 2006 something like this might work[code]<body onload="document.getElementById('calc').style.display = 'none';"><div id="calc">Calc....</div></body>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/13495-how-can-i-show-a-message-when-the-script-is-loading/#findComment-52516 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.