jQuery(document).ready(function($){

    $(document).on('click', '#affiliate-marketing-business-welcome-notice .notice-dismiss', function(){

        $.ajax({
            type: 'POST',
            url: ajaxurl,
            data: {
                action: 'affiliate_marketing_business_dismiss_notice'
            }
        });

    });

});