Advertisement
ferdinand

jquery highlight row table

Dec 23rd, 2011
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.48 KB | None | 0 0
  1. http://www.codeunit.co.za/2010/08/17/jquery-datatables-simple-row-highlight-example/
  2.  
  3.  
  4. CSS
  5. ----------------------------------------------
  6. #mytable ; id "mytable" html css
  7. #mytable th ; id "mytable" th (table header)
  8. background-color: #ECFFB3 !important; attribut"background-color" value"#ECFFB3" more-priority"!important"
  9.  
  10. --------------- jquery ------------------------------
  11. $("#mytable tr").hover ; jquery id "mytable" tr (table row)
  12. $('.mytable').hover ; jquery class "mytable"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement