My question will ultimately be related to this site:
http://dbtest.net16.net/ethanol-01.html
EDIT: View unencrypted page source code here >>> http://dbtest.n
The problem is that if you try to write a Instead of writing your table line by line, concatenate your table into a variable and insert it once created: If your code is in an external JS file, in HTML create an element with an ID where you want your table to appear: And in JS instead of or a
or tag using JS every time you insert a new tag the browser will try to close it as it will think that there is an error on the code.
document.write(myTable)
use the following code:document.getElementById('tablePrint').innerHTML = myTable;