jQuery UI Slider and jQuery Globalization with value delimited by comma [ , ]
问题 I'm developing an ASP.NET MVC 3 app that uses both jQuery Globalization and jQuery UI Slider. I'm localizing this app to Portuguese from Brazil (pt-BR) and it also supports English. The problem is that when I change the language to Portuguese, all Model float values come delimited by a comma ( , ) like 7,7. I then try to set the Slider initial value but it only accepts the value with a dot ( . ) like 7.7. To overcome such situation I'm doing this: $.CreateSlider("#sliderHeight", "#Height",