Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28524
    Troll
    Participant

    Hello dear dfactory-Team,

    i wanted to trigger the cookies-accept button from a custom input type button.

    I tried:
    $(“#cust_Button”).click(function(){
    $(“#cn-accept-cookie”).trigger(“click”);
    $(“#cn-accept-cookie”).click();
    });

    Could you tell me how to do it?

    I feel it is such a shame i didn’t purchase anything, even if i respect your work but the purchase button from WP just brought me here with no paypal or anything.

    #46195
    Troll
    Participant

    $( “#oh-no-not-another-cookie-accept-btn” ).on( “click”, function() {
    a_ = document.getElementById(‘cn-accept-cookie’);
    a_.click();
    });

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.