Answers for "are you sure javascript"

0

are you sure javascript

$(function() {
    $('.confirm').click(function(e) {
        e.preventDefault();
        if (window.confirm("Are you sure?")) {
            location.href = this.href;
        }
    });
});
Posted by: Guest on October-24-2019

Code answers related to "are you sure javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language