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

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

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

    });

});