//carchat

New Chev Inventory in Saskatoon

Value your trade

Find the Value of Your Trade

Show Only

Keyword

4 Vehicles matching:
  • Page 1 of 1
  • Page 1 of 1
//LinkedIn Tag //VLP DESKTOP - CREATE YOUR DEAL VIN GRABBER jQuery(".vlp .inventoryList li.item").each(function() { var createVin = jQuery(this).find("div.hproduct").attr("data-vin"); jQuery(this).find("a.view-link").after('Create Your DealCreate Your Deal'); }); // AJAX Comments into listings page var tld = '//'+ document.domain; var trimmedString = ""; var maxLength = 280; $('.inventoryList .item').each(function( index, mainContainer) { var vdpPageLocation = $(mainContainer).find('h1 .url').attr('href'); trimmedString = ""; $.ajax({ url: tld + vdpPageLocation, success: function(data) { trimmedString = ""; $(".description .details .comments .value", data).each(function(index, myValue) { var commentsText = $(myValue).text().replace("\n", " "); trimmedString = commentsText.substr(0, maxLength); trimmedString = trimmedString.substr(0, Math.min(trimmedString.length, trimmedString.lastIndexOf(" "))) + '... read more'; }); $(mainContainer).find('.hproduct').append('
'+ trimmedString +'
'); } }); }); /*]]>*/