/ Published in: jQuery
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 $("tr:nth-child(odd)").addClass("odd");
Comments
                    Subscribe to comments
                
                