我可以在javascript的消息框中加入一个链接吗? [英] Can I incorporate a link in a message box in javascript?
本文介绍了我可以在javascript的消息框中加入一个链接吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的javascript messagebox功能中添加一个链接。有没有办法做到这一点?
I would like to add a link in my javascript messagebox function. Is there a way to do that?
TodayDate = new Date();
if (sender._selectedDate < new Date(TodayDate.getYear(), TodayDate.getMonth()-1, 1))
{
alert("Only current and previous months active.\n\nPlease visit\n
Agency ...HOMEPAGE...\nfor Archive Commissions");
sender._selectedDate = new Date();
}
推荐答案
不,这不受支持。您需要使用绝对定位的DIV创建自己的模态对话框。
No, this is not supported. You need to create your own modal dialog using an absolutely-positioned DIV.
这篇关于我可以在javascript的消息框中加入一个链接吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文