How to edit a JavaScript alert box title?

前端 未结 11 2429
执笔经年
执笔经年 2020-11-22 10:15

I\'m generating a JavaScript alert with following code in C# .NET page:

Response.Write(\"

        
11条回答
  •  感动是毒
    2020-11-22 10:25

    To answer the questions in terms of how you asked it.

    This is actually REALLY easy (in Internet Explorer, at least), i did it in like 17.5 seconds.

    If you use the custom script that cxfx provided: (place it in your apsx file)

    
    

    You can then call it just like you called the regular alert. Just modify your code to the following.

    Response.Write("");
    

    Hope that helps you, or someone else!

提交回复
热议问题