(function($) { $("a").remove(".prod-see-details-button"); console.log("Message went through"); })( jQuery );