Re:Don't use the jQuery .data() method. Use .attr() instead.
by eurleif on Sunday December 18, 2011 @05:41PM
(#3367736)
But 1.410 isn't a string, it's a float. What do you expect jQuery to do, parse the source of its caller and determine that you wrote 1.410 rather than 1.41? That's the only thing it could reasonably do, because the value it actually receives as an argument is identical in both cases.
[ Parent
| on HN ]
There are no comments on this comment yet.