在foreach或者each循环中给按钮赋予值

html中:data-key="@config.key"

js里获取值: var key = $(this).data("key");

相关文章:

  • 2022-12-23
  • 2021-11-04
  • 2021-09-30
  • 2021-10-08
  • 2021-12-21
  • 2021-08-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-17
  • 2022-12-23
  • 2021-09-13
  • 2021-06-06
  • 2022-12-23
  • 2021-12-06
  • 2022-02-11
相关资源
相似解决方案