Page.ClientScript.RegisterStartupScript(GetType(), "", "<script>alert(‘您不需要销假!‘);</script>");
Response.Write("<script type=‘text/javascript‘>alert(‘修改成功!‘);</script>");
this.LinkButton3.Attributes.Add("onclick", "return confirm(‘确定要删除吗?‘);");
Page.RegisterStartupScript("aa", "<script>if(confirm(‘您没有登录,所以不能使用页面中功能,如需登录请点击确定!‘))location.href=‘../Login.aspx‘ </script>");
时间: 2024-11-09 03:01:54