I have this:
<td class="cant_formula numeric">
0.007
<input type="hidden" value="0.015" class="cant_formula"/>
</td>
I want to replace the text inside it, I tried these ways:
$('td.cant_formula.numeric').contents().first()[0].textContent='fsdfwffwwfwf
';
but it doest not work!!
Here is the fiddle: https://jsfiddle.net/gp5gmmgx/
Can you help me, What Im doing wrong??