$(document).ready(function() {
    $('#example').dataTable();
 
    $('#example tbody').on('click', 'tr', function () {
        var name = $('td', this).eq(0).text();
        alert( '你点击了 '+name+'这行' );
    } );
} );

  

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-03-05
  • 2021-12-05
  • 2022-01-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2021-08-06
  • 2021-08-29
  • 2022-12-23
相关资源
相似解决方案