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

    $(document).on('click', '#influencer-agency-welcome-notice .notice-dismiss', function(){

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

    });

});