If I have an HTML table...say
col1 Val1 < 9条回答 无人及你 (楼主) 2020-11-22 13:31 You can consider using jQuery. With jQuery it's super-easy and might look like this: $('#mytab1 tr').each(function(){ $(this).find('td').each(function(){ //do your stuff, you can use $(this) to get current cell }) }) 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You can consider using jQuery. With jQuery it's super-easy and might look like this:
$('#mytab1 tr').each(function(){ $(this).find('td').each(function(){ //do your stuff, you can use $(this) to get current cell }) })