As a part of building customizable alternatives for browser’s controls, here is a cross-browser, custom confirm dialog in the form of an easy to use jQuery plugin. You can choose the text, buttons, and actions that will be executed when they are clicked. You can customize the appearance of the dialog by modifying css. As the message attribute of the dialog takes HTML text, you can further customize it by displaying images and icons in the confirm window.
You can even alternatively use this plugin as an alert dialog – you will just need to pass a single button with no action attribute.
Read the full tutorial HERE