How to show a "Wait..." caption after pushing 'Send' button

Discussion in 'Javascript' started by francescomoi@usa.com, Nov 15, 2005.

  1. Guest

    Hi.

    I've developed a web application which handles a big ammount of data
    (acquired via
    web form), so it takes 30-40 seconds to show the result.

    In order to calm down users, I want to implement some JavaScript code
    which shows:
    ------
    "Wait a moment...."
    ------
    while it makes calculations.

    Do you know any solution? Thank you very much.
     
    , Nov 15, 2005
    #1
    1. Advertising

  2. wrote:

    > I've developed a web application which handles a big ammount of data
    > (acquired via
    > web form), so it takes 30-40 seconds to show the result.
    >
    > In order to calm down users, I want to implement some JavaScript code
    > which shows:
    > ------
    > "Wait a moment...."
    > ------
    > while it makes calculations.
    >
    > Do you know any solution? Thank you very much.


    <form ... onsubmit="this.elements['foo'].value = 'Wait a moment....';">
    ...
    <input name="foo" disabled>
    ...
    </form>


    PointedEars
     
    Thomas 'PointedEars' Lahn, Nov 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill Priess
    Replies:
    0
    Views:
    437
    Bill Priess
    Aug 5, 2003
  2. =?Utf-8?B?bWlrZWU=?=

    Cursor wait, hide or show

    =?Utf-8?B?bWlrZWU=?=, Dec 12, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    751
    Alex Papadimoulis
    Dec 12, 2003
  3. =?Utf-8?B?UG9udGlNYXg=?=

    Long-running task: Show DIV with 'Please wait' message

    =?Utf-8?B?UG9udGlNYXg=?=, Feb 10, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    4,476
    =?Utf-8?B?ZmFsY29u?=
    Feb 11, 2005
  4. Huey

    How to make "fork/wait" to WAIT longer?

    Huey, Mar 1, 2004, in forum: C Programming
    Replies:
    1
    Views:
    2,006
    -berlin.de
    Mar 1, 2004
  5. PHP2

    Redirect on the pushing button

    PHP2, Mar 31, 2005, in forum: Javascript
    Replies:
    0
    Views:
    77
Loading...

Share This Page