JSFiddle - React, Tailwind, and code Playground

HTML

<td class="cant_formula numeric">
    0.007
    <input type="hidden" value="0.015" class="cant_formula"/>
</td>

JavaScript

$('td.cant_formula.numeric').contents().first()[0].textContent='New Value Does NOT Work!!';