alternate table row


/ Published in: jQuery



Copy this code and paste it in your HTML
  1. $("tr:nth-child(odd)").addClass("odd");

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.