473,513 Members | 2,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Popup window question

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

Nov 23 '06 #1
2 1354
"Devika" <de*********@gmail.comwrote in
news:11**********************@f16g2000cwb.googlegr oups.com:
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 <formtag, 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>
Nov 23 '06 #2
Thansk you sooo much . It helped !
Good Man wrote:
"Devika" <de*********@gmail.comwrote in
news:11**********************@f16g2000cwb.googlegr oups.com:
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 <formtag, 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>
Nov 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

38
5003
by: Shaun McKinnon | last post by:
HI...Here's my problem...I have a popup window that loads when i want it to, but it's not sized properly. I've set the size, but it doesn't seem to work. I've been on 8 different websites to find...
3
2049
by: Steve K | last post by:
After reading Harlan's post about popups some of my questions were answered but.. I was going to use differnet popups on a lot of my pages. These popups contain bios on Cornell faculty. Two days...
12
12397
by: HarveyB | last post by:
I would like to generate non-modal popup windows from ASP.Net code-behind. I have tried using Client Side scripting like "function Test(){ window.open('test.htm',_blank,...
3
1932
by: Dan | last post by:
First, I'm sorry if this question has been asked too many times. I'm new to this news group. The question has to do with the use of popup windows in a web page. I have heard that popup windows...
7
3200
by: E Michael Brandt | last post by:
I have been lurking here for some time, and now would like to ask a question of you clever coders: My JustSo PictureWindow 3 Extension for Dreamweaver has stumbled in the face of the new Opera...
4
22158
by: Davey | last post by:
I have a website which has a popup window (this only opens when the user chooses to open it). In the popup window I have a <select> control which lists a selection of "classes". Each class has a...
3
1978
by: ypress | last post by:
Hi. I have a page that contains this simple function: <script language="javascript"> function openPop(url, name, w, h) { var features = ""; features += "scrollbars=no,"; features +=...
7
4701
by: ukrbend | last post by:
I use an iframe on my home page and everything works perfectly. But now I decided to add a popups to my page. The popups come not from within the iframe but from the parent frame. Again, everything...
4
4259
by: vickeybird | last post by:
I want to know if it is possible to detect if Pop up Blocker is enabled without trying to open a Pop Up windows. I'm trying to create a web analytics script and visible Pop up in case of disabled...
18
2321
by: jonpfl | last post by:
All, I am using javascript (window.open()) to create a popup to do some processing. This popup is going to create a PDF which can take anywhere from 10 secs to 2 mins (alot of backend SQL calls)...
0
7157
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7379
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7521
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5682
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.