473,811 Members | 2,120 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 1376
"Devika" <de*********@gm ail.comwrote in
news:11******** **************@ f16g2000cwb.goo glegroups.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 "submitButt on".

Then, in your <formtag, add "onsubmit="docu ment.getElement ById
('submitButton' ).value='please wait...';docume nt.getElementBy Id
('submitButton) .disabled=true"

So...

<form action="xxxxxx" method="post" onsubmit="docum ent.getElementB yId
('submitButton' ).value='please wait...';docume nt.getElementBy Id
('submitButton) .disabled=true" >

<input type="submit" value="Submit me!" id="submitButto n" />

</form>
Nov 23 '06 #2
Thansk you sooo much . It helped !
Good Man wrote:
"Devika" <de*********@gm ail.comwrote in
news:11******** **************@ f16g2000cwb.goo glegroups.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 "submitButt on".

Then, in your <formtag, add "onsubmit="docu ment.getElement ById
('submitButton' ).value='please wait...';docume nt.getElementBy Id
('submitButton) .disabled=true"

So...

<form action="xxxxxx" method="post" onsubmit="docum ent.getElementB yId
('submitButton' ).value='please wait...';docume nt.getElementBy Id
('submitButton) .disabled=true" >

<input type="submit" value="Submit me!" id="submitButto n" />

</form>
Nov 29 '06 #3

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

Similar topics

38
5097
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 out what i'm doing wrong, and so far it seems i'm doing it the right way. Here's my code...any suggestions would be appreciated. <script language="javascript"> <!-- window.open("256fx/index.htm", "", "height=400, width=600"); //-->
3
2083
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 ago this was the best place to put this info, that was until I tested it on my officemates computer where she has Adzapper installed and it killed the popup before it could be read. I assumed MANY people have this or similar software. So, the...
12
12438
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, 'height=200,width=400,status=no,toolbar=no, menubar=no,location=no resizable=no scrollable=no'); but I can't seem to invoke the client side script from within a Server Side Form. I know I can use the context with to Response.redirect or Server.transfer to return a
3
1955
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 should be avoided; due to use of popup blockers and browser that do not process javascript. Is the use of popup windows bad design? Will it severly reduce the usage of our web page?
7
3230
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 8. Jspw3 opens a popup window (using varname=window.open(...)) but there are now two problems: 1) Opera8 interprets a top,left of 0,0 to be top left of the browser window rather than of the entire screen, unlike the other modern browsers I've...
4
22216
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 description and a class_id (stored in the value attribute of each option). The user will then select a class from the drop-down list. What I want to do is have a control in the parent browser window which can store the class_id and the...
3
1995
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 += "menubar=no,"; features += "resizable=no,";
7
4744
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 regarding the popup works perfectly, it pops up with the correct data. But the strange thing is now any link that targets the iframe simply get ignored and instead of displaying things in the iframe they get displayed in a new browser window...
4
4280
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 PopUp Blocker is not being accepted.
18
2340
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) and I was hoping to use this popup to show the user that something is going on (animated gif) and give them the ability to use the parent window to do other things in our system (while the popup is creating the PDF on the server). My problem lies...
0
9734
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9607
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10656
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10410
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6897
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5564
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4353
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 we have to send another system
2
3878
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3027
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.