Hello. I need to get the value inside a <td>
through its selector.
This <td>
contains the total value of a purchase (within a checkout).
Using the console:
document.querySelector(".monetary")
In this case I get the element:
<td class="monetary" data-bind="text: totalLabel">R$ 75,22</td>
But I need to get the value 75.22 isolated.
How do I proceed?