How to edit a JavaScript alert box title?

subash picture subash · Dec 15, 2009 · Viewed 431.9k times · Source

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

Response.Write("<script language=JavaScript> alert('Hi select a valid date'); </script>");

It displays an alert box with the heading title as "Message from webpage".

Is it possible to modify the title?

Answer

Pierreten picture Pierreten · Dec 15, 2009

No, you can't.

It's a security/anti-phishing feature.