CarDealerPress

WordPress for car dealers

  • Home
    • LEARN MORE
  • Features
    • CarDealerPresss Overview
  • FAQ’s
    • LEARN MORE
  • Pricing
    • Automatic Imports Pricing
    • Manual Entry Pricing
    • Learn more about CarDealerPress
    • LEARN MORE
  • About Us
    • Blog
    • Contact Us
    • LEARN MORE
    • Privacy Policy
    • Cookie Policy
  • Support
    • Get Support
    • Plugins we use
    • Suggested WordPress Themes
    • LEARN MORE
You are here: Home / Java Script Find and Replace

Java Script Find and Replace

This small section of java script will allow you to replace any text on either the search or VDP. You will just be sure to input the correct ‘class’ or ‘id’. And then replace the FIND and REPLACE. With what you want to find and replace.

[cc lang=’javascript’ ]

jQuery(‘CLASS or ID’).each(function(){
if (jQuery(this).text().match(/FIND/i) != null){
jQuery(this).html(jQuery(this).html().replace(/FIND/i, ‘REPLACE’));
}
});

[/cc]

Blog Categories

  • Automotive SEO (15)
  • Branding (7)
  • CarDealerPress updates (1)
  • Conversion (5)
  • Featured Websites (2)
  • Google Analytics (6)
  • Internet Marketing (17)
  • Inventory Plugin Updates (4)
  • myPages (3)
  • News and Reviews (4)
  • Reputation Management (7)
  • Tutorials (9)
  • WordPress (16)

Site Search

Copyright © 2002–2023 · DealerTrendTM