jQuery attribute auto added to elements

前端 未结 4 1129
心在旅途
心在旅途 2020-12-03 17:26

After using the IE8 built in Developers Tools for the first time, I noticed jQuery is attaching an attribute to some of my elements: alt text http://thebe.jtan.com/~vince/st

4条回答
  •  独厮守ぢ
    2020-12-03 18:24

    jQuery uses this "expando" to bind data and events to objects. It looks like it works along with a data and event cache. I'd love to hear a more in-depth explanation, though.

提交回复
热议问题