( function( jQuery ){
 jQuery( document ).on( 'click', '.notice-info .notice-dismiss', function () {
        var type = jQuery( this ).closest( '.notice-info' ).data( 'notice' );
        jQuery.ajax( ajaxurl,
          {
            type: 'POST',
            data: {
              action: 'adventure_trekking_camp_dismissed_notice_handler',
              type: type,
              wpnonce: adventure_trekking_camp.wpnonce
            }
          } );
      } );
}( jQuery ) )