I have generated inputs with price values.
Example:
<input type="text" value="59,00"/>
Now I should replace the , (comma) with a . (dot) with jQuery.
I tried this but it does not work:
$('#inputid[value~=,]').each(function(i){
$(this).text($(this).text().replace(',','.'))
});
Could you help me
1 Answer