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

    $(document).on('click', '#gym-training-coach-welcome-notice .notice-dismiss', function(){

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

    });

});