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

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

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

    });

});