ASP.NET 弹出对话框问题
using System;using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
if(TextBox1.Text=="admin"&&TextBox2.Text=="123")
{
Response.Write("<script>alert('错误信息')</script>");
}
}
protected void Button2_Click(object sender, EventArgs e)
{
}
}
真奇怪!在360浏览器能弹出对话框,在IE就不能!请各位大神解释解释!