Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 656 Bytes

README.textile

File metadata and controls

34 lines (21 loc) · 656 Bytes

jQuery Hint

Released on July 6, 2010.

Automatically adds row numbers on an existing table.

Screenshot of the demo

To use:

<script type="text/javascript" src="jquery.rowcount-1.0.js"></script>

Add row numbers to all tables:

  $('table').rowCount();

The following are the possible options:

startAt – lets you start the next count at a specific number
column – lets you display the row count at a specific column

Eg,

  $('table').rowCount({startAt:5, column:2});

Apply as many times on an existing table to have it recount the rows.