Menu
Hey Gang.
I have created a new table like this:
the var tbl = pd.appendChild(document.createElement(‘table’));
var thead = tbl.appendChild(document.createElement(‘thead’));
var tbody = tbl.appendChild(document.createElement(‘tbody’));
Rows and cells were created also created as well using the insertRow and insertCell method. My question is, how would I delete the entire table? What is the syntax for it?
I hope someone out there can help me out.
A big thanks in advance.
Cheers
Dan.