Dynamically adding table row count number using JavaScript and jQuery

Now available as a rowCount jQuery plugin. Recently on jQuery mailing list a user asked how he/she could add a row count in their table automatically. So I wrote a code snippet which looks like this: $(document).ready(function(){
$("table").each(function(){
if($(this).is('table')){
$('thead th:first-child, thead td:first-child', this).each(function(){
if($(this).is('td'))

Comments

Popular posts from this blog

Genuine Windows 7 Ultimate: The GENUINE Windows 7 activator for x32 and x6480

Types and forms of imitation gemstone and manufactured

7 Tips before you buy detectors for gold and treasures and minerals