Why King Box is the latest entry in the word games to make a classic app Description: putting your interest in why King Box is the most recent entry in the word games to make a perfect app? In this post, you are likely to get all the latest information and answers you desire mostly.Read more about Why King Box is the latest entry in the word games?[…]
This field is required.
');
$n("#filed_5a6b84f3522b6_name_Nknewsletter_space").css( { marginBottom : "0px" } );
emailAdd=false;
}
if(emailAdd!=""){
var element=$n("#filed_5a6b84f3522b6_youremail").next().next();
if(emailAdd.toLowerCase()=='Email'.toLowerCase()){
$n(element).html('This field is required.
');
isvalidEmail=false;
$n("#filed_5a6b84f3522b6_email_Nknewsletter_space").css( { marginBottom : "0px" } );
}else{
var JsRegExPatern = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/
if(JsRegExPatern.test(emailAdd)){
isvalidEmail=true;
$n("#filed_5a6b84f3522b6_email_Nknewsletter_space").css( { marginBottom : "20px" } );
$n(element).html('');
}else{
var element=$n("#filed_5a6b84f3522b6_youremail").next().next();
$n(element).html('Please enter valid email address.
');
$n("#filed_5a6b84f3522b6_email_Nknewsletter_space").css( { marginBottom : "0px" } );
isvalidEmail=false;
}
}
}else{
var element=$n("#filed_5a6b84f3522b6_yourname").next().next();
$n(element).html('This field is required.
');
$n("#filed_5a6b84f3522b6_email_Nknewsletter_space").css( { marginBottom : "0px" } );
isvalidEmail=false;
}
if(isvalidName==true && isvalidEmail==true){
$n("#filed_5a6b84f3522b6_name_Nknewsletter_space").css( { marginBottom : "20px" } );
$n("filed_5a6b84f3522b6_email_Nknewsletter_space").css( { marginBottom : "20px" } );
$n("#filed_5a6b84f3522b6_AjaxLoader").show();
$n('#filed_5a6b84f3522b6_mysuccess_msg').html('');
$n('#filed_5a6b84f3522b6_mysuccess_msg').hide();
$n('#filed_5a6b84f3522b6_myerror_msg').html('');
$n('#filed_5a6b84f3522b6_myerror_msg').hide();
var nonce ='3dec0dfcea';
var url = 'https://grofafo.org/wp-content/plugins/email-subscribe/';
var email=$n("#filed_5a6b84f3522b6_youremail").val();
var name =$n("#filed_5a6b84f3522b6_yourname").val();
var str="action=store_email&email="+email+'&name='+name+'&sec_string='+nonce;
$n.ajax({
type: "POST",
url: 'https://grofafo.org/wp-admin/admin-ajax.php',
data:str,
async:true,
success: function(msg){
if(msg!=''){
var result=msg.split("|");
if(result[0]=='success'){
$n("#filed_5a6b84f3522b6_AjaxLoader").hide();
$n('.filed_5a6b84f3522b6_mysuccess_msg').html(result[1]);
$n('.filed_5a6b84f3522b6_mysuccess_msg').show();
setTimeout(function(){
$n('#filed_5a6b84f3522b6_mysuccess_msg').hide();
$n('#filed_5a6b84f3522b6_mysuccess_msg').html('');
$n("#filed_5a6b84f3522b6_youremail").val('Email');
$n("#filed_5a6b84f3522b6_yourname").val('Name');
},2000);
}
else{
$n("#filed_5a6b84f3522b6_AjaxLoader").hide();
$n('#filed_5a6b84f3522b6_myerror_msg').html(result[1]);
$n('#filed_5a6b84f3522b6_myerror_msg').show();
setTimeout(function(){
$n('#filed_5a6b84f3522b6_myerror_msg').hide();
$n('#filed_5a6b84f3522b6_myerror_msg').html('');
},2000);
}
}
}
});
}
}