Certified:' + one[selectedCompany].Certified + '
' + 'Certified-Withdrawn:' + one[selectedCompany].CertifiedWithdrawn + '
' + 'Withdrawn:' + one[selectedCompany].Withdrawn + '
' + 'Denied:' + one[selectedCompany].Denied + '
' + 'Grand Total:' + one[selectedCompany].GrandTotal + '
'); }); } } if (selectedVal == 'two'){ $('.company').html(''); var len = two.length; for (var i=0; iCertified:' + two[selectedCompany].Certified + '
' + 'Certified-Withdrawn:' + two[selectedCompany].CertifiedWithdrawn + '
' + 'Withdrawn:' + two[selectedCompany].Withdrawn + '
' + 'Denied:' + two[selectedCompany].Denied + '
' + 'Grand Total:' + two[selectedCompany].GrandTotal + '
'); }); } } if (selectedVal == 'three'){ $('.company').html(''); var len = three.length; for (var i=0; iCertified:' + three[selectedCompany].Certified + '
' + 'Certified-Withdrawn:' + three[selectedCompany].CertifiedWithdrawn + '
' + 'Withdrawn:' + three[selectedCompany].Withdrawn + '
' + 'Denied:' + three[selectedCompany].Denied + '
' + 'Grand Total:' + three[selectedCompany].GrandTotal + '
'); }); } } }); }); //end document.ready block