I am trying to work out how to get the value of table cell for each row using jQuery.
My table looks like this:
9条回答 抹茶落季 (楼主) 2020-11-22 15:37 $(document).ready(function() { var customerId $("#mytable td").click(function() { alert($(this).html()); }); }); 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
$(document).ready(function() { var customerId $("#mytable td").click(function() { alert($(this).html()); }); });