我想在我的javascript messagebox函数中添加一个链接.有没有办法做到这一点?
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();
}
Run Code Online (Sandbox Code Playgroud) javascript ×1