javascript alert()函数 [英] javascript alert() function
本文介绍了javascript alert()函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hai All
如何使用javascript自动关闭提醒信息
alert(hai );
请帮帮我
谢谢你的进步
Aatif
Hai All
How to close alert message automatically using javascript
alert("hai");
please help me
Thanks n Advnce
Aatif
推荐答案
试试这个:
关闭 - 弹出窗口 - 3秒后窗口 [ ^ ]
希望它有所帮助:)
Try this:
closing-popup-window-after-3-seconds[^]
hope it helps :)
我认为不可能关闭javascript警报。相反,您可以使用任何自定义弹出对话框,然后您可以完全控制设置超时以关闭该框。
I think its not possible to close javascript alert. Rather you can use any custom popup dialog box and then you have full control to set timeout to close the box.
实际上与alert()函数相关的问题...
首先我创建了一个div,如下所示
< div id =divReAssignDialog>您的会话将过期在另外1分钟!请在会话到期前回复< / div>
Actually issue related with alert() function...
First I am Created one div like as follows
<div id="divReAssignDialog">Your session will expire in another 1 minute(s)! Please respond before the session expires</div>
<script language="javascript" type="text/javascript" charset="utf-8">
这篇关于javascript alert()函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文