'); } jQuery(document).ready(function() { jQuery("#form-contact-footer").validate({ errorLabelContainer: jQuery(".errorcontainer"), submitHandler: function(form) { jQuery('#loading_footer_contact').show(); jQuery.ajax({ url: 'https://www.nknews.org/pro/wp-admin/admin-ajax.php?action=filter_submit_contact_footer', type: 'POST', data: jQuery('#form-contact-footer').serialize(), success:function(data) { if(data==''){ jQuery('#loading_footer_contact').hide(); jQuery('html, body').animate({ scrollTop: jQuery("#message_footer_div").offset().top }, 1000); setTimeout(function(){ jQuery("#message_footer_div").html('

There was an error - please try again

'); }, 3000); }else{ if(data==1){ jQuery('#loading_footer_contact').hide(); jQuery('html, body').animate({ scrollTop: jQuery("#message_footer_div").offset().top }, 1000); jQuery("#message_footer_div").html('

'); clearform(); }else if(data==0){ jQuery('#loading_footer_contact').hide(); jQuery('html, body').animate({ scrollTop: jQuery("#message_footer_div").offset().top }, 1000); jQuery("#message_footer_div").html('

'); } } } }); } }); }); function clearform(){ jQuery("#form-contact-footer").trigger('reset'); }

Continue Reading

on North Korea News

Featured