Popup window question

Discussion in 'Javascript' started by Devika, Nov 23, 2006.

  1. Devika

    Devika Guest

    Hi,

    I am working on online recharge module. Everything is in place but when
    you click on submit it does not notify user that the request is getting
    processed and he needs to wait for couple of seconds. I need to add a
    popup window displaying this message. Can anyone suggest me how to do
    this? I just need to open 1 window , sense some event in parent window
    and then close the popup window..Kindly please help

    I truly apppreciate your help

    D
    Devika, Nov 23, 2006
    #1
    1. Advertising

  2. Devika

    Devika Guest

    Thansk you sooo much . It helped !
    Good Man wrote:
    > "Devika" <> wrote in
    > news::
    >
    > > Hi,
    > >
    > > I am working on online recharge module. Everything is in place but
    > > when you click on submit it does not notify user that the request is
    > > getting processed and he needs to wait for couple of seconds. I need
    > > to add a popup window displaying this message. Can anyone suggest me
    > > how to do this? I just need to open 1 window , sense some event in
    > > parent window and then close the popup window..Kindly please help

    >
    > I would lose the pop-up window entirely, and instead, change/disable
    > your submit button.
    >
    > For example, give you submit button an id of "submitButton".
    >
    > Then, in your <form> tag, add "onsubmit="document.getElementById
    > ('submitButton').value='please wait...';document.getElementById
    > ('submitButton).disabled=true"
    >
    > So...
    >
    > <form action="xxxxxx" method="post" onsubmit="document.getElementById
    > ('submitButton').value='please wait...';document.getElementById
    > ('submitButton).disabled=true">
    >
    > <input type="submit" value="Submit me!" id="submitButton" />
    >
    > </form>
    Devika, Nov 29, 2006
    #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. Jay
    Replies:
    8
    Views:
    6,568
    livshitz
    Jun 12, 2011
  2. Earl Teigrob
    Replies:
    4
    Views:
    1,175
    Vidar Petursson
    Jun 5, 2004
  3. =?Utf-8?B?Sm9obiBXYWxrZXI=?=

    Popup Window Popup Timing

    =?Utf-8?B?Sm9obiBXYWxrZXI=?=, Nov 4, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    842
    =?Utf-8?B?Sm9obiBXYWxrZXI=?=
    Nov 4, 2005
  4. Jens Peter Hansen
    Replies:
    7
    Views:
    516
    Randy Webb
    Jun 19, 2004
  5. Raffi
    Replies:
    4
    Views:
    214
    Dr John Stockton
    Aug 12, 2004
Loading...

Share This Page