To create zebra table effect with jQuery and CSS you can use the following snippet.
jQuery
$("tr:odd").addClass("oddRowsEffect");
in the css you need something like
tr.oddRowsEffect{ /* background: choose a color; * /* color: choose a color; * }
All the Code Snippets and Samples you need
To create zebra table effect with jQuery and CSS you can use the following snippet.
$("tr:odd").addClass("oddRowsEffect");
in the css you need something like
tr.oddRowsEffect{ /* background: choose a color; * /* color: choose a color; * }
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to create zebra table effect in #jQuery and #CSS http://t.co/WHxWsOViv6 #html
RT @CodeSnippetsNET: How to create zebra table effect in #jQuery and #CSS http://t.co/WHxWsOViv6 #html