Skip to content

Instantly share code, notes, and snippets.

@cloudxero
Created March 22, 2012 18:05
Show Gist options
  • Save cloudxero/2161222 to your computer and use it in GitHub Desktop.
Save cloudxero/2161222 to your computer and use it in GitHub Desktop.
DealerTrend API - Change phone number on vehicle detail page
if (jQuery('#dealertrend-inventory-api #armadillo-detail').length){
var new_phone_number = '(###) ###-####'
jQuery('.armadillo-contact-information p').each(function(){
if (jQuery(this).text().match(/phone/i) != null){
jQuery(this).children('strong').text(new_phone_number);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment