3
Hello. I need to get the value inside a <td>
through its selector.
This <td>
contains the total amount of a purchase (within a checkout).
Using the console:
document.querySelector(".monetary")
in this case I can get the element:
<td class="monetary" data-bind="text: totalLabel">R$ 75,22</td>
however I need to take the value 75,22 isolated.
How should I proceed?
Thank you. Working...
– Cmyk Visual