How to get the value of data attribute using JQuery in asp.net core?

前端 未结 0 1541
温柔的废话
温柔的废话 2021-01-31 14:02

I want to get the value of the custom attribute by jquery. I use this code to do that but in console it show "undefined":

var correct = $("div"         


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