Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".data tr").each(function() { //loop over each row
- if($(this).find("td:eq(4)").text() == refine) { //check value of TD
- $(this).find("td").css("background", "#fff");
- $(this)
- $(this).find(":nth-child(even) td").css({
- "background" : "#D4EDF9",
- "border-right" : "3px solid #D4EDF9"
- });
- $(this).show(); //show the row
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement