0
如果我有以下瓦尔匹配文本属性值w/jQuery的
var $headers = $("#myTbl th").not(":first");
var $this = $(this);
如何匹配$ this.text(); 以内标题标签内th?
<th title="match this title">value</th>
这似乎并不工作:
$headers.filter(":contains(" + $this.text() + ")");