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 3959 posted 1 year 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 444 posted 7 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 364 posted 7 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 338 posted 10 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 550 posted 12 years ago by miohtama
sorting a table through javascript
3 436 posted 13 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 392 posted 13 years ago by vbert
0 274 posted 14 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 408 posted 14 years ago by 1man
« Prev 1 Next »