Women Equality also is known as feminism is the crucial topic for every state, region and culture. Women all over the world have strived for their rights and justice; to get their legal status and recognition. Primitively, women have to make continuous efforts to raise the voice for their rights. There were numerous obstacles andRead more about Social Media: A Portal to raise women’s voices[…]
This field is required.
');
                    $n("#filed_5a6b9a5ec3b31_name_Nknewsletter_space").css( { marginBottom : "0px" } );
                    emailAdd=false;
                
            }
           
           if(emailAdd!=""){
               
               
                var element=$n("#filed_5a6b9a5ec3b31_youremail").next().next();
                if(emailAdd.toLowerCase()=='Email'.toLowerCase()){
                    
                    $n(element).html('This field is required.
');
                    isvalidEmail=false;
                    $n("#filed_5a6b9a5ec3b31_email_Nknewsletter_space").css( { marginBottom : "0px" } );
                }else{
                    
                         var JsRegExPatern = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/
                         if(JsRegExPatern.test(emailAdd)){
                            
                            isvalidEmail=true;
                            $n("#filed_5a6b9a5ec3b31_email_Nknewsletter_space").css( { marginBottom : "20px" } );
                            $n(element).html('');    
                            
                        }else{
                            
                             var element=$n("#filed_5a6b9a5ec3b31_youremail").next().next();
                             $n(element).html('Please enter valid email address.
');
                             $n("#filed_5a6b9a5ec3b31_email_Nknewsletter_space").css( { marginBottom : "0px" } );
                             isvalidEmail=false;
                            
                        }
                        
                }
               
           }else{
               
                    var element=$n("#filed_5a6b9a5ec3b31_yourname").next().next();
                    $n(element).html('This field is required.
');
                    $n("#filed_5a6b9a5ec3b31_email_Nknewsletter_space").css( { marginBottom : "0px" } );
                    isvalidEmail=false;
               
           } 
            
            if(isvalidName==true && isvalidEmail==true){
                $n("#filed_5a6b9a5ec3b31_name_Nknewsletter_space").css( { marginBottom : "20px" } );
                $n("filed_5a6b9a5ec3b31_email_Nknewsletter_space").css( { marginBottom : "20px" } );
                
                $n("#filed_5a6b9a5ec3b31_AjaxLoader").show();
                $n('#filed_5a6b9a5ec3b31_mysuccess_msg').html('');
                $n('#filed_5a6b9a5ec3b31_mysuccess_msg').hide();
                $n('#filed_5a6b9a5ec3b31_myerror_msg').html('');
                $n('#filed_5a6b9a5ec3b31_myerror_msg').hide();
                
                var nonce ='3dec0dfcea';
                var url = 'https://grofafo.org/wp-content/plugins/email-subscribe/';  
                var email=$n("#filed_5a6b9a5ec3b31_youremail").val(); 
                var name =$n("#filed_5a6b9a5ec3b31_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_5a6b9a5ec3b31_AjaxLoader").hide();
                                 $n('.filed_5a6b9a5ec3b31_mysuccess_msg').html(result[1]);
                                 $n('.filed_5a6b9a5ec3b31_mysuccess_msg').show(); 
                                 setTimeout(function(){
                                  
                                      $n('#filed_5a6b9a5ec3b31_mysuccess_msg').hide();
                                      $n('#filed_5a6b9a5ec3b31_mysuccess_msg').html('');
                                      $n("#filed_5a6b9a5ec3b31_youremail").val('Email');
                                      $n("#filed_5a6b9a5ec3b31_yourname").val('Name');
                                     
                                },2000);
                                 
                                 
                                 
                                 
                             }
                             else{
                                   $n("#filed_5a6b9a5ec3b31_AjaxLoader").hide(); 
                                   $n('#filed_5a6b9a5ec3b31_myerror_msg').html(result[1]);
                                   $n('#filed_5a6b9a5ec3b31_myerror_msg').show();
                                   setTimeout(function(){
                                  
                                      $n('#filed_5a6b9a5ec3b31_myerror_msg').hide();
                                      $n('#filed_5a6b9a5ec3b31_myerror_msg').html('');
                                      
                                    
                                     
                                },2000);
                                
                             }
                           
                       }
                 
                    }
                }); 
                
            }
           
            
              
          }
          
        
      