I keep reading the same thing:
\"Storing property values directly on DOM elements is risky because of possible memory leaks.\"
But c
According to the jQuery documentation:
In Internet Explorer prior to version 9, using .prop() to set a DOM element property to anything other than a simple primitive value (number, string, or boolean) can cause memory leaks if the property is not removed (using .removeProp()) before the DOM element is removed from the document. To safely set values on DOM objects without memory leaks, use .data().