Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged table



« Prev 1 Next »
Use to sort table columns by clicking on the table headings
0 22831 posted 5 years ago by jlustre
have to change this snippet in order to hide filtered rows. Not tried out yet, but works fine in the jsfiddle
0 1861 posted 11 years ago by bboydflo
I was studying Japanese adjectives and ye olde paper and pen wasn't enough so I made this. Basic as the basic can be
0 13009 posted 11 years ago by hamittou
This script handles table sorting, is easy to implement and to alter and has decent documentation. I did not write this JavaScript, rather, I found it here: http://www.kryogenix.org/code/browser/sorttable/ I used this script on the ACEE WordPr...
0 1490 posted 15 years ago by racl101
A javscript snipped which will mark each table cell with a CSS class containing the cell's column number. This allows you to set the table column widths using just one CSS rule and without hand editing the table HTML code. This is to workaround the l...
0 2326 posted 16 years ago by miohtama
sorting a table through javascript
3 1737 posted 17 years ago by ginoplusio
/* --==[ EXAMPLE ]==-- var colors = new AArray(); colors.add("k01", {bk:"#fff",tk:"b",it:"hello"}); var oC = colors.get("k01"); var tT = ''; for(K in oC) tT += "[" + K + "]: " + oC[K] + "\n"; tT += "\n\n"; tT += oC.bk + "\n"; tT += oC...
1 1690 posted 18 years ago by vbert
0 1215 posted 18 years ago by valcartei
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 2068 posted 19 years ago by 1man
« Prev 1 Next »