Why $(this).attr('value') is undefined?

前端 未结 0 471
粉色の甜心
粉色の甜心 2020-12-08 15:50

I have created lots of buttons with the class name .btn, but all of them have a specific value.

I wanna access their value when I click on them.

B

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