Possible Duplicate:
How to edit a JavaScript alert box title?
When I run my javascript program,I am getting alert box that has title(page at local host says that).I want to remove that with some good title.Does it there any way to do that?
Possible Duplicate:
How to edit a JavaScript alert box title?
When I run my javascript program,I am getting alert box that has title(page at local host says that).I want to remove that with some good title.Does it there any way to do that?
Instead of using alert(), try using a lightbox instead. If you use jQuery, check out jqModal. If you use Prototype, check out ModalBox.
You should use JqueryUI for custom dialogboxes. That way you can specify title, text, buttons, and even style everything to match your website.
Here's the explanation of how to do it: http://jqueryui.com/demos/dialog/#modal-confirmation
Not possible with javascript alert. Try with custom jquery-ui dialog; here is the link