html:

<p t>111</p>
<p t>111</p>
<p t>111</p>

 

js:

function change(ev) {
var ev = ev || window.event,
    target = ev.target || ev.srcElement, 
    tid = target.getAttribute('tid');
console.log('tid',tid)
}

 

相关文章:

  • 2021-12-28
  • 2021-07-22
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
  • 2021-11-04
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案