02/12/2011
Select a specific column in table by content
To select a specific column by content, you can use the following jquery code:
$(document).ready(function () {
$('td').each(function () {
var $tds = $(this).find('td');
if ($tds.text() == "System Settings") {
<!--alert($currText = $tds.eq(0).text());-->
$tds.css("background-color", "#F6F6F6");
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment