"); } }else{ $('.inSpanUnlockEmployeePhone'+employeeId).html("Not Available"); } // if(obj.phone!='' && obj.phone!=null){ // $('.inSpanUnlockEmployeePhone'+employeeId).html(""+obj.phone+""); // } else{ // $('.inSpanUnlockEmployeePhone'+employeeId).html("Not Available"); // } $('.inSpanUnlockDownloadEmployeeBtn'+employeeId).css("display","none"); $('.displayDownloadButtonClass').css("display","inline-block"); }else if(obj.status == 'insufficient_quota'){ $('.inSpanUnlockDownloadEmployeeBtn'+employeeId).html('Unlock Contact'); $('.inSpanUnlockEmployeeBtn'+employeeId).html('Unlock Contact'); $.jGrowl(obj.msg, { sticky: false, theme: 'error'}); }else if(obj.status == 'account_waiting_approval'){ $('.inSpanUnlockDownloadEmployeeBtn'+employeeId).html('Unlock Contact'); $('.inSpanUnlockEmployeeBtn'+employeeId).html('Unlock Contact'); $.jGrowl(obj.msg, { sticky: false, theme: 'error'}); }else if(obj.status == 'insufficient_quota_with_payment_link'){ $('.inSpanUnlockDownloadEmployeeBtn'+employeeId).html('Unlock Contact'); $('.inSpanUnlockEmployeeBtn'+employeeId).html('Unlock Contact'); $.jGrowl(obj.msg, { sticky: false, theme: 'error'}); new Messi('You are out of unlocks. But you can purchase a