I want to find and replace text with jquery. I want to change "SKU:" to "art nu".
<span itemprop="productID" class="sku_wrapper"> SKU: <span class="sku"> 5-144 </span>. </span>
I tried:
$(".product_meta>.sku_wrapper:contains('SKU:')" ).text('art nu.');
but this removes the child sku period.
Hope someone has a solution ...
source share