Reputation: 6577
How to remove The warning image of the alert box in Javascript. I want to delete the warning image from the javascript alert window. Is it Possible?
Upvotes: 0
Views: 425
Reputation: 187090
You won't be able to change it. Better use a custom alert box.
is a nice one with a lot of options
Upvotes: 2
Reputation: 94207
Unfortunately, the look-and-feel of the result of an alert()
call is browser dependent. Each browser implements it differently.
If you need to change the look of a browser dialog box, you'll have to implement your own. There's a lot of options out there. JQuery UI is a particularly popular one if you happen to be using JQuery.
Upvotes: 4