需要模态弹出式扩展程序帮助 [英] Modal popup extender help required
本文介绍了需要模态弹出式扩展程序帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在一个按钮上,单击我正在显示一个模式弹出扩展程序,以确认删除操作."
在确认弹出窗口关闭后,对模式弹出窗口执行删除操作后.
我想显示一条消息,表示删除成功,并且一段时间后该文本应消失.
我该如何实现?
On a Button click I am showing a modal pop-up extender for confirmation of a delete action.
After the delete action on modal pop-up after confirmation pop-up is closed.
I would like to show a message that deletion was successfully and that text should disappear after a certain period.
How can I achieve this?
推荐答案
将DIV
与javascript
(使用setTimeout
)
一起使用
UseDIV
withjavascript
(usingsetTimeout
)
<div id="divMessage">Successfully done</div>
function CloseMessage()
{
document.getElementById("divMessage").style.display="none";
}
window.setTimeout(CloseMessage,10000);//Hide DIV after 10 seconds
这篇关于需要模态弹出式扩展程序帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文