S. S. Rawat S. S. Rawat - 1 year ago 81
jQuery Question

Change layout of google chrome alertbox

I want to change layout of google chrome

alert box
, My basic need to alert value like "Item added sucessfully" but in google chrome alert box it is good to see can it is posible google chrome
alert box
show like a model window in the center of screen with some effective design?

Answer Source

Changing built-in alert dialog box for chrome/IE/FF is not possible. Workaround is to use jQuery alert dialog. Same question has already been asked here and answered. you can also see an example in jsFiddle

$("<div>Test message</div>").dialog();