How to store a reference to an object on a dom elements data property?
<p>I want to save a reference to a specific object reflecting properties for the current dom element for some elements of the dom tree. Each element could have a different reference to another object or they could reference the same. Is it possible to use html5's data property therefore or is there another way to do that in plain javascript (not jquery).</p>

<p>Thanks for help!</p>
