Thursday, September 25, 2008

how to change the alert box title?

Want to know how to change the alert box title in javascript...
the answer is: we cant change the title of js alert box.

however, we can use popup boxes, that look like alert boxes with custom title.... but there is a chance - some browsers will block that.
Or we can use vbscript msgBox, but cant get the result in FF.
Or we can use custom designs like this:
http://www.acejs.com/scriptsfolder/121015/121015.html

BUT it is not working like exactly as a alert box. (following codes will get executed though we dont click the ok button)

My opinion: Its better not to use any other custom alert boxes.

No comments: