简体   繁体   English

dataTables jQuery使行的任何部分都可单击

[英]dataTables jquery make any part of the row clickable

I want to be able to click on any part of row and get the response. 我希望能够单击行的任何部分并获得响应。 Currently I am only able to click on row 3 to get the data. 目前,我只能单击第3行以获取数据。 here is fiddle http://jsfiddle.net/byhs/ 这是小提琴http://jsfiddle.net/byhs/

thanks 谢谢

使用td:eq(2)将选择器切换到td

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM