Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...