[<input id="unit_quantity_0" name="lines[0][quantity]" placeholder="Quantité" type="text" value="23,60">
,<input id="unit_quantity_2" name="lines[2][quantity]" placeholder="Quantité" type="text" value="5,60">]
How do I change the ‘,‘ in values to ‘.‘
$("[id^=unit_quantity_]") returns the array.
Thanks.
How about:
Example: http://jsfiddle.net/andrewwhitaker/325We/
Using the overload of
.valthat takes a function that lets you describe how to replace the old values.