I got a very simple Table with only two rows. I was thinking what is the best way to get the value from the TD with ID \"row2\".
4条回答 挽巷 (楼主) 2021-01-12 06:09 Use text() instead of val() var r = $("#row2").text(); More Info: .text() 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Use text() instead of val()
text()
val()
var r = $("#row2").text();
More Info: