What I would like to be able to do is create a string from a Javascript HTMLElement Object. For example:
var day = document.createElement("div");
day.className = "day";
day.textContent = "Random Text";
Now we have create the day
HTMLDivElement Object is it possible to make it print as a string? e.g.
<div class="day">Random Text</div>