Forget Password ?

Enter your e-mail address

' ); }else{ jQuery('#forget_message').html('
x'+response.msg+'
' ); } } }); }else{ jQuery('#forget_message').html('
xEnter Email Address
' ); } } function chack_login(){ var ajaxurl = 'https://www.sbinternational.net/wp-admin/admin-ajax.php'; var loader_image = ''; jQuery('#error_message').html(loader_image); var search_params={ "action" : "iv_membership_check_login", "form_data": jQuery("#login_form").serialize(), }; var username = jQuery('#username').val(); var password = jQuery('#password').val(); if( password!="" && username!=""){ jQuery.ajax({ url : ajaxurl, dataType : "json", type : "post", data : search_params, success : function(response){ if(response.code=='success'){ // redirect window.location.href = response.msg; }else{ jQuery('#error_message').html('
xInvalid Username & Password
' ); } } }); }else{ jQuery('#error_message').html('
xEnter Username & Password
' ); } } (function($){ $(document).ready(function(){ $('.forgot-link').on('click',function(){ $("#login_form").hide(); $("#forget-password").show(); }); $('#back-btn').on('click',function(){ $("#login_form").show(); $("#forget-password").hide(); }); }); }(jQuery)); jQuery("#password").keypress(function(e) { if(e.which == 13) { chack_login(); } }); jQuery("#forget_email").keypress(function(e) { if(e.which == 13) { forget_pass(); } }); jQuery(document).ready(function () { jQuery("#forget-password").submit(function(e){ e.preventDefault(); }); });