merry christmas.. :)
I need to show progress status when a button is clicked.
I use this script. but I know that this code is still very bad.
Expand|Select|Wrap|Line Numbers
- <html>
- <head>
- <title>Loading test</title>
- <script language="javascript">
- function Process() {
- document.write("Please wait...");
- location.href="index.php?page=main&action=process";
- }
- </script>
- </head>
- <body>
- <form>
- <input type="button" value="Process" onclick="Process();">
- </form>
- </body>
- </html>
How to put the correct way to show a progress status?
Thank you very much.
best regards.