Dear Monks,
I guess this was probably questioned many times. But I did not find a working solution.
My code has computational overhead and I would like to inform the client that it should wait. The logic of my code is simple. After completing main_form() on the main page SUBMIT sends POST message. Then
if ($submit)
{
process_form(
...................
process_form() performs calculation based on recieved
$query->param(".....")
and then generates HTML whith computed results.
When computations are being performed main_form() is still shown.
I would like to show
Wait .... message instead which will be interrupted when new HTML in iprocess_form() is generated.
There should be a simple solution. Your help is very much appreciated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.