3 ms·
This is bad advice. data() takes care of many details that .attr() does not, such as preventing IE memory leaks or trampling an existing DOM property. I don't
by jcampbell1 15y ago
This is bad advice. data() takes care of many details that .attr() does not, such as preventing IE memory leaks or trampling an existing DOM property.
I don't understand the issue. He is putting in 1.410 and gets 1.41? Isn't that the expected result?