[ jQuery ] StripTables


/ Published in: JavaScript
Save to your folder(s)

StripTables Script.
Need jQuery Framework : http://jquery.com/


Copy this code and paste it in your HTML
  1. function stripTables(){
  2. // select all table elements, select all tr elements and apply the css { background : color }
  3. $('table').find("tr:odd").css({ background : "#f6f6f6" });
  4. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.