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

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

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

    });

});