Here is the working example:
http://jsfiddle.net/iorgu/szs90ykr/
The problem is that it's not working when I add ".productrating-param" to img like this:
$('.productrating-param img').after(mylayer.text());
What am I doing wrong?
var mylayer=$('.label-count').clone();
$('.productrating-param img').after(mylayer.text());
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="label-count">7</div>
<td class="param-value productrating-param">
<img src="http://www.lamianaturashop.com/custom/kencekonyha/catalog/view/theme/rome_cappuccino/image/stars_5.png" alt="5 / 5 csillag!" >
</td>