jQuery(document).ready(function ($) {
    // When the notice is dismissed
    $(document).on('click', '.expert-ac-repair-notice .notice-dismiss', function () {
        $.post(ajaxurl, {
            action: 'expert_ac_repair_dismiss_notice'
        });
    });
});