Custom alert and confirm box in jquery


Is there any alert and confirm dialog available in jquery with custom title and custom content in it. I have searched many sites but cannot find appropriate. Any site link or any content are appreciable.

This question is tagged with javascript jquery

~ Asked on 2013-07-15 07:07:58

The Best Answer is


I made custom messagebox using jquery UI component. Here is demo

You have to pass just the parameters like caption name, message, button's text. You can specify trigger function on any button click. This will helpful for you.

~ Answered on 2013-07-15 07:18:53


Try using SweetAlert its just simply the best . You will get a lot of customization and flexibility.

Confirm Example

    title: "Are you sure?",
    text: "You will not be able to recover this imaginary file!",
    type: "warning",   
    showCancelButton: true,   
    confirmButtonColor: "#DD6B55",
    confirmButtonText: "Yes, delete it!"

Sample Alert

~ Answered on 2015-07-21 21:49:45

Most Viewed Questions: