Show confirm using javascript/Jquery

There is a method confirm() which will solve this problem.
This Confirm() method displays the message with OK & Cancel button in the dialog box.
If You click Ok then it returns true & if you click Cancel then it will return false.

Confirmation are most often used to confirm an important actions that are taking place on a website.

Following is the small example of it.

Leave a Reply

Your email address will not be published. Please enter your name, email and a comment.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>