html5 - How do I set Chrome to use a period as a decimal instead of a comma? -
the next html5 code works. allows user capture decimals using html5 type="number" input type. made possible step attribute:
<input value="" name="turnover" id="turnover" placeholder="0" type="number" step="0.01">
the problem in south africa, utilize period (.) decimal , not comma (,). unfortunately, chrome not allowing utilize of period , forces user utilize comma. apparently other browsers utilize whatever decimal separator utilize in step attribute. seems not chrome.
any ideas how resolve issue?
have tried setting civilization code of page? assuming site serves south african visitors...?
html5 google-chrome numbers locale decimal-point
No comments:
Post a Comment