后台写js,弹出窗口,字体变大,以及保存文本框信息

'1结合2,能解决弹出窗口后字体不变的问题
        'System.Web.HttpContext.Current.Response.Write("<script>alert(""" & msg & """)</script>") '1
        'System.Web.HttpContext.Current.Response.Write("<script>document.location=document.location;</script>") '2


 

       '3结合4,能解决弹出窗口字体不变的问题,同时,解决保留文本框原录入信息的问题
        System.Web.HttpContext.Current.Response.Write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>") '3
        System.Web.HttpContext.Current.Response.Write("<script>alert(""" & msg & """)</script>") '4
       

原文地址:https://www.cnblogs.com/zxktxj/p/2749723.html