Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Java by (9.5k points)

Below is the code which generates JavaScript alert in C# .NET page:

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

I get an alert box with the heading title as "Message from webpage". Can anyone tell me how I can modify the title?

1 Answer

0 votes
by (19.7k points)

No, you won’t be able to modify the title since it’s a security/anti-phishing feature.

Interested in Java? Check out this Java tutorial by Intellipaat. 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...