Re:Don't use the jQuery .data() method. Use .attr() instead.
by bryanlarsen on Sunday December 18, 2011 @06:41PM
(#3367863)
The jquery docs say that it stores as Json. 1.4000 in Json is a float. Use data-key="'1.400'" to get a string.
[ Parent
| on HN ]
There are no comments on this comment yet.