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

    $(document).on('click', '#islamic-center-mosque-welcome-notice .notice-dismiss', function(){

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

    });

});