I'm trying to populate most of the table using this line:
document.getElementById('myPageContentTable').innerHTML=strVar;

strVar is a string that contains <tr> and <td> tags that are rows that I want to insert into the table myPageContentTable using the innerHTML data member. When I try to do it the header is not showing at all in my table. Any suggestions?

well, I would contest that comment by saying that string concatenation and a single DOM manipulation is much faster than many DOM manipulations. Whenever possible, it is good practice to use string concatenation to build html, and use as few DOM methods as possible. Each time you call a DOM method, the DOM must be parsed and rendered by the browser. You would probably notice an application start to slow down with a couple hundred rows being added, each with 8 cells of data. That would be several thousand DOM manipulations as opposed to 1 or 2 if you use string concatenation.

You would especially notice a bog down if you were using jQuery and calling it's DOM functions one at a time. And sometimes, string concatenation is cleaner (see below)

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.

In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property
Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…