');; $('.inSpanNotAvlbl'+employeeId).css('float','right'); $('.inSpanNotAvlbl'+employeeId).css('margin-right','-23px'); $('.inSpanNotAvlbl'+employeeId).css('width','auto'); $(document).on("click",".verified_email"+employeeId, function(){ var emp = $(this).attr('data-emp'); $('.email-verify-comp-popup').hide(); $('#email-verify-pop-'+employeeId).show(); $('#email-verify-pop-'+emp).show(); $('#email-verify-pop-'+emp).css("display","block"); $('.email-verify-comp-popup').hide(); $('.email-verify-pop'+employeeId).show(); $('#email-verify-pop-'+employeeId).show(); $('.email-verify-pop-'+employeeId).show(); }); $('.email-verify-pop-'+employeeId).mouseover(function() { inside = false; }); $('.verified_email'+employeeId).mouseout(function() { inside = true; setTimeout(email_verify_popup_content, 750); }); $('.email-verify-pop-'+employeeId).mouseout(function() { inside = true; setTimeout(email_verify_popup_content, 750); }); $('.researchEmail'+employeeId).html(""); $('.researchEmail'+employeeId).remove(); var msg = 'Email has been successfully researched and found.'; $.jGrowl(msg, { sticky: false, theme: 'success'}); } //We can't have this else, it will ALWAYS hit not matter what the //result is. //else if(obj.status == 'success' ) { // var html = ' '; // $('#select_div_'+employeeId).html(html); // // $('.researchEmail'+employeeId).remove(); // $('.inSpanNotAvlbl'+employeeId).html(""+obj.email+""); // // if ( $( "#per_"+employeeId ).length ) { // $('#per_but_'+employeeId).prop('disabled', false); // $('#per_but_'+employeeId).removeClass('crm-but-disable'); // $('#persist_'+employeeId).hide(); // } // var msg = 'Records has been processed.'; // $.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 + '