What's the best way to render the below(buildTargetTable()) to the browser? I'm trying to build a table on the fly as the page is getting rendered.
The below works but only if I alert it or console.log it. What I want to do is make it render to the browser.
var tbl = "";
tbl = "<Table id="+tblType+"></Table>";