Profile
Achievement
1man's Recent SnippetsTagged table
- All /
« Prev 1 Next »
Great little snippit to add a <tr> to the bottom of a table. Note the use of the context in the jQuery e.g var n = $('tr:last td', this).length; Will have to use this in the future, very good to know!
4
1707
posted 15 years ago by 1man
This function looks for tables in a web page, then loops through the rows and sets the backgroundColor for ever other row.This creates a striped table which is easier to read.
2
1013
posted 17 years ago by 1man