I need to replace the "content" inside the div for run an A/B test.
Now I have this HTML:
<p class="flag off-10- product">
In the CSS I have ::before and ::after:
::before
content:' ';
::after
content:'XXXX% OFF'
And the jQuery:
$('.flag off-10- product').attr('content','New XXXX off%');