Analogy between .bind() and .data() ?
<div dir="ltr">So I did sit up and pay attention at the conference when I learned that events could be bound to pure javascript objects and not just the dom. I also am attempting to replace some code I have for simple data caching with $().data() . The question is, can I bind data to pure javascript objects and not just dom elements, and if not does it make sense to extend the same analogy the .bind() uses to allow this? <br clear="all">
--
Christopher Thatcher
</div>