Javascript error ??
-
I don’t understand how to fix this.
jQuery(document).ready(function() { jQuery(document).on(“click”, “.likebtn_review_notice .notice-dismiss, .likebtn_review_notice .likebtn_dismiss_review”, function(e) { e.preventDefault(); jQuery(“.likebtn_review_notice”).remove(); jQuery.ajax({ url: ajaxurl, method: “POST”, data: { action: “likebtn_dismiss_review”, likebtn_review: “1” } }); }); });
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Javascript error ??’ is closed to new replies.