Thursday 27 June 2019

Click doesn’t work after AJAX load – jQuery

jQuery(document).on('click', '#readmore', function(e){
    e.preventDefault();
    alert("you clicked the button");
    jQuery("#bodytext").css("display", "block");
});

No comments:

Post a Comment