Dynamically creating table in javascript : I'm asking you for help with DOM table in JS. When I click buttons table will be creating automagically with example texts. I want to write a few functions for create table tag, thead, border and align center, caption, data (rows and cells with text), tfoot, deleting row, adding row. 

I don't know how to do it, so... thanks for the help guys ^^