473,657 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

alert message that closes after 3 seconds

9 New Member
hi All,

I want to display an alert message that closes after 3 seconds automatically

Is there a way to do this??

Please help!!

Thanks
Mar 13 '08 #1
1 1833
gits
5,390 Recognized Expert Moderator Expert
you could open a div with the message and close it after 3 seconds ... but with the standard js-alert it is not possible ...

kind regards
Mar 13 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
19306
by: Martin | last post by:
I have the following function in the onchange event of several text boxes. If the user enters an invalid number the alert displays. I would like to return the user to that same field after he closes the alert but setting the focus as I'm doing here doesn't do it (instead, the focus goes to the next field). Any suggestions as to hwo I can make this work? Thanks.
1
2811
by: CJM | last post by:
In the application I am working on there is a Password form where the user enters their password. I currently have a timer control on the form that will close the form after 15 seconds. What I would like is to have some kind of alert or message similar to a tool tip appear after 10 seconds to warn the user that the form is about to close. Is this possible with C#?
14
2821
by: Nick K. | last post by:
I am looking for architecture to push information from a server to a client browser. This information would be in the form of an alert. What I do not want to do is have the browser be on a timer and update every few seconds. What options do I have to put into place such a feature?
1
2683
by: RJN | last post by:
Hi I have a pop-up window which has a task menu on its left which are nothing but links to different screens. This window also has a close button. On click of close button I do some server side operation and the window closes itself. Now the user can close the window by clicking on X(Top right corner) or by pressing Alt+F4 window. I want to atleast alert the user when he does these 2 things to inform he has not clicked on the close...
1
3025
by: buran | last post by:
Dear ASP.NET Programmers, I am developing an intranet application using ASP.NET. I want to add such a functionality that the application displays a pop-up box to confirm when the user tries to close the windows using X box. I want the pop-up to be displayed when the user clicks on the X box of the browser window (namely, when the user closes the browser window). It's not important whether the data is changed or not. onbeforeunload event...
2
1835
by: Captain Dondo | last post by:
There's javascript alert, and confirm... I'm looking for something like a 'message', just a window that pops up and goes away after a bit. I've got a slow machine (an embedded PC) that generates flash movies. It takes about 30 seconds to make one of these movies. Plus it takes the browser about 15 seconds to get the new page. So I'd like to pop up a little "please wait" window that goes away once
1
2932
by: ashok2006 | last post by:
Hi everybody, Here is my problem:- When I start tomcat the command prompt for tomcat openes but closes within seconds. I've following environment varibles set:- CATALINA_HOME C:\jakarta-tomcat-4.1.31 JAVA_HOME C:\j2sdk1.4.2 Path %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\J2SDK1.4.2\BIN;C:\Sun\AppServer\bin
1
5900
by: gabrielk43 | last post by:
My question is this: I use Flex Builder 2 and actionscript 2. Suppose that I have created a simple alert window like that: var alertWindow:Alert = Alert.Show(message);. What if I want to close it before user gives an input, let's say 2 seconds after I have opened it? Is there a way to send to this window a CloseEvent? Or do I have to wait for the user to close it? Thanks in advance.
9
8411
by: =?Utf-8?B?a2FyaW0=?= | last post by:
Hello All, Is it possible in vb 08 to set a message box to pop up when you click a button and have a cod that sets a time in seconds so that lets say after 5 sec. the message box closes by itself when the counter reach 0 sec. ? Thanks for all of your help...
0
8392
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
8823
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...
0
8603
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7320
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
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
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1604
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.