-5

I am using simple alert function of JavaScript that shows site URL when it executes.

How can I remove site url from top of javascript alert?

Is there any way to customize javascript alert?

Raghbendra Nayak
  • 1,606
  • 3
  • 22
  • 47
  • 2
    http://stackoverflow.com/questions/4172022/change-title-of-javascript-alert – Nouphal.M Jan 03 '14 at 09:35
  • What have you tried already? "Questions asking for code must demonstrate a minimal understanding of the problem being solved. __Include attempted solutions__, why they didn't work, and the expected results." – naththedeveloper Jan 03 '14 at 09:35

1 Answers1

0

You cannot remove that. That's the default behaviour of a JavaScript Alert. The title attribute of a alert box cannot be modified.

You can make use of JQuery Alert Dialog box to change the title as per your needs.

Shankar Narayana Damodaran
  • 68,075
  • 43
  • 96
  • 126