jQuery Object / data attribute access issue

前端 未结 0 1717
遥遥无期
遥遥无期 2021-01-01 12:04

I am trying to troubleshoot some jQuery code and added this:

alert(this.dragEl.data(\'type\'));

and all the alert returns is undefined<

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