JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr class="even" data-specificationattributename="Basiseenheid">
        <td class="a-left spec-namehide">Basiseenheid</td>
        <td class="a-left spec-valuehide">KG</td>
    </tr>
</table>Value show here:
<div class="qty-unit"> <span class="qty-unit-result"></span>

</div>

JavaScript

var selector = $('[data-specificationattributename=Basiseenheid]');
var kgVal = selector.find('.spec-valuehide').text().trim();
$('.qty-unit-result').html(kgVal);