| jQuery(function ($) { |
| $('#confirm-dialog input.confirm, #confirm-dialog a.confirm').click(function (e) { |
| e.preventDefault(); |
| // example of calling the confirm function |
| // you must use a callback function to perform the "yes" action |
| confirm("Sind Sie sicher?", function () { |
| window.location.href = 'http://www.google.com'; |
| } |
| ); |
| }); |
| }); |