Skip to content

Instantly share code, notes, and snippets.

@rumidier
Created June 11, 2012 05:29
Show Gist options
  • Save rumidier/2908628 to your computer and use it in GitHub Desktop.
Save rumidier/2908628 to your computer and use it in GitHub Desktop.
Le-02.js
$(document).ready(function() {
$('the').parent().addClass('table-heading');
$('tr:not(:has(th)):even').addClass('even');
$('tr:not(:has(th)):odd').addClass('odd');
$('td:contains("Henry")').next().addClass('highlight');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment