Friday, May 24, 2013

Another way implementing dnnConfirm


// Delete review button
$(".Delete-Button").dnnConfirm({
    text: "Confirm Message",
    title: "Confirm Title",
    isButton: true
});
$(document).delegate(".Delete-Button", "click", function (e) {
    if (e.isTrigger) {
        //Your code here
    }
    return false;
});

No comments:

Post a Comment