Advertisement
Guest User

Untitled

a guest
Sep 12th, 2012
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $(".data tr").each(function() { //loop over each row
  2.  
  3.              if($(this).find("td:eq(4)").text() == refine) { //check value of TD
  4.                 $(this).find("td").css("background", "#fff");
  5.                 $(this)
  6.                 $(this).find(":nth-child(even) td").css({
  7.                     "background" : "#D4EDF9",
  8.                     "border-right" : "3px solid #D4EDF9"
  9.                     });
  10.                    
  11.                  $(this).show(); //show the row
  12.  
  13.              }
  14.  
  15.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement