I have a list of products in a table, and in order to leave the interface more friendly, in the column 'price' concatenei the 'R $' next to the value. Now I need to capture this value to do a math operation and need to convert to float:
//captura o valor da linha na table
var linha = $(this).parent('td').parent('tr');
// deve converter o valor para Float
var valor = parseFloat(linha.find('td:eq(1)').text());
Using Jquery, how do I remove the 'R $' characters and convert the value to Float?