');; $(document).on("click",".verified_email", function(){ $('.email-verify-pop').show(); }); $('.email-verify-pop').mouseover(function() { inside = false; }); $('.verified_email').mouseout(function() { inside = true; setTimeout(email_verify_popup_content, 750); }); $('.email-verify-pop').mouseout(function() { inside = true; setTimeout(email_verify_popup_content, 750); }); $('.researchEmail'+employeeId).html(""); $('.researchEmail'+employeeId).remove(); if ( $( "#per_"+employeeId ).length ) { $('.per_def_'+employeeId).show(); $('#per_but_'+employeeId).prop('disabled', false); $('#per_but_'+employeeId).removeClass('crm-but-disable'); $('#persist_'+employeeId).hide(); } if ( $( "#qm_"+employeeId ).length ) { $('#qm_but_'+employeeId).prop('disabled', false); $('#qm_but_'+employeeId).removeClass('crm-but-disable'); $('#quickmail_'+employeeId).hide(); } var msg = 'Email has been successfully researched and found, please unlock contact to view email.'; $.jGrowl(msg, { sticky: false, theme: 'success'}); }else { $.post( "https://app.lead411.com/profile_page/get_email_formats" , { company_domain: company_domain, employeeId: employeeId, firstName: first_name, lastName: last_name, middle: middle }, function( data ) { $('.researchEmail'+employeeId).remove(); $('.inSpanNotAvlbl'+employeeId).remove(); $( "#research_button" ).hide(); var email_list = data + '