I am trying to use Javascript in order to add a canvas to one page which originally does not have one. I am trying to do the following:
var canv=document.cre
var canv=document.createElement("canvas"); canv.setAttribute("id", "canvasID"); document.body.appendChild(canv);
Without something like that third line, your new canvas is never actually inserted into the page.