Amazon Interview Question

Write a JS plugin to manipulate tables (you can use jQuery).