Please Wait MessageUse this little script to surround a complex function that takes some time to complete. It provides a "Please Wait" message while the function is calculating.
"Please Wait" messages are an excellent way to let the user know that your web based application is performing some action, such as loading a page or processing data. Without such a notification, users may begin clicking other controls on the web page, or close the browser due to the excessive delays.
Pressing the button below will simulate a lengthy function or calculation. While the function is calculating, a "Please Wait" message will be displayed. This is done using a DIV area. When the function begins the DIV area is shown and when the function ends, the DIV area is hidden.
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!