change javascript messagebox icon
Moderator: General Moderators
-
greedyisg00d
- Forum Commoner
- Posts: 42
- Joined: Thu Feb 12, 2009 2:48 am
change javascript messagebox icon
Hi is it possible to change the javascript messagebox exclamation icon to information icon or any other? Sample codes is much appreciated. Thanks
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: change javascript messagebox icon
No, that's up to the browser in question. At best you can use \n to create a new line though it must be within quotes.
Code: Select all
alert('This is line 1.\nThis is line 2.');