foo bar abc@yahoo.com 8条回答 执念已碎 (楼主) 2020-12-28 23:27 If like me you want to get the text from all the first column items in all the tables on the page then use this. jQuery('table tr td').each( function( cmp ) { console.log( jQuery(this).text() ); } ); 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
If like me you want to get the text from all the first column items in all the tables on the page then use this.
jQuery('table tr td').each( function( cmp ) { console.log( jQuery(this).text() ); } );