Popup window question

D

Devika

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
 
D

Devika

Thansk you sooo much . It helped !
Good said:
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>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top