Where does jQuery store the values of the data() that it sets to DOM objects?
data()
Is there some kind of variable like jQuery.dataDb or somethin
jQuery.dataDb
Ok I figured it out.
jQuery.expando contains a string that's appended to each element which is jQuery + new Date()
jQuery.expando
jQuery + new Date()
HTMLElement[jQuery.expando] contains the key to that element's data
HTMLElement[jQuery.expando]
data
jQuery.cache[HTMLElement[$.expando]] contains the data on the element
jQuery.cache[HTMLElement[$.expando]]