I am trying to get the value of first td in each tr when a users clicks \"click\".
The result below will output aa ,ee or ii. I was thinking about using closest(\'t
$(this).parent().siblings(":first").text()
parent gives you the around the link, siblings gives all the tags in that , :first gives the first matched element in the set. text() gives the contents of the tag. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
parent
around the link, siblings gives all the tags in that , :first gives the first matched element in the set. text() gives the contents of the tag. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
siblings gives all the tags in that , :first gives the first matched element in the set. text() gives the contents of the tag. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
siblings
tags in that , :first gives the first matched element in the set. text() gives the contents of the tag. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
, :first gives the first matched element in the set. text() gives the contents of the tag. 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
:first gives the first matched element in the set.
:first
text() gives the contents of the tag.
text()