JavaScript for HTML Tables

JavaScript for HTML Tables
0

#1

Is there a way to create a table row with JavaScript? Instead of inputting content into it.


#2

You can create HTML elements with the document.createElement() method

https://www.w3schools.com/jsref/met_document_createelement.asp


#3

Oh okay. I haven’t gotten to DOM yet so that must explain why I haven’t seen createElement. Thanks though.