Hello. I have a script where I need to add in a td created via javascript a new table. I tried to create the new table directly using something like:
var newTable = cell3_prod.createElement("TABLE");
I thought it would work but it caused error I also tried this:
cell3_prod.appendChild(document.createElement("TABLE"));
var tab_produto = cell3_prod.getElementsByTagName("TABLE");
It has not worked yet. Should that work or does it depend on something else?