62,041
社区成员
发帖
与我相关
我的任务
分享
provide void menu1_menuitemclick(object sender, menueventargs e)
switch (e.item.value)
{
case "0"
If 对话框点确定
{
语句一
}
else
{
break;
}
}
if(!this.Page.IsPostBack)
{
this.button1.Attributes.add("onclick","return foo()");
}
自己在前端,写一个javascript的foo函数,里面写 return confirm(xxxx);