$(document).ready(function () { var country = 'US'; if(country.toString() === "USA" || country.toString() === "US" || country.toString() === "United States"){ $('#call-us .call-us-number a, #call-us .mobile-call-us-number-a').html("1-800-266-7798"); }else{ $('#call-us .call-us-text, #call-us .mobile-call-us-text').html('Call Us (intl)'); $('#call-us .call-us-number a, #call-us .mobile-call-us-number a').html("1-916-456-1045"); } });