JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

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