Using Prototype to manage table rows

Row 1 Cell 1
Row 2 Cell 2
Row 3 Cell 3
Row 4 Cell 4

source:http://www.java2s.com/Code/JavaScriptReference/Javascript-Methods/deleteRowExample.htm

using prototype.js and $() in function

example 1

Row 1 Cell 1
Row 2 Cell 2
Row 3 Cell 3
Row 4 Cell 4

example 2 (read test() to see what it is doing)

This is a paragraph

This is another paragraph


source: http://www.sergiopereira.com/articles/prototype.js.html#DollarFunction

Demo of Sortable Table using prototype based script

(Click headers)

RowsCells
Row 1 Cell 1
Row 2 Cell 2
Row 3 Cell 3
Row 4 Cell 4

source: http://tetlaw.id.au/view/blog/table-sorting-with-prototype/

<< Back to blog post