jQuerys $.data() vs. DOM Object property

后端 未结 0 1988
暖寄归人
暖寄归人 2021-02-15 08:27

I recently needed to append some data to dynamically created LI elements. In my first instance, I used .data() in a way like

var _newli         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题