Thanks AndrewGSW,
I added 't.innerHTML += "<td>" + naam + "</td></tr><tr>";' but its still not working. I'm relatively new to javascript (and/or html), I don't understand what you mean by the following.
Quote:
Originally Posted by AndrewGSW
Code:
var tblContent = '';
tblContent += // etc..;
tblContent = tblContent.substring(0, tblContent.length-5) + '</table>';
but this is untested.
|