title: Get DOM element hash in javascript?
body: <p>In case the element doesn't have an ID attribute, I want to generate some kind of unique identifier that identifies the element.</p>
  
  <p>Is there some function that can get me the object hash of the DOM element object, similar to spl_object_hash in PHP ? That would be unique enough.</p>