Re:Don't use the jQuery .data() method. Use .attr() instead.
by voidr on Monday December 19, 2011 @04:30AM
(#3369084)
I hade my gripes with .data too:
The thing is removeData is pretty much useless because it only removes data from the jQuery cache, but if the data is missing from the cache jQuery will look in the DOM anyway.
[ Parent
| on HN ]
There are no comments on this comment yet.