I want to insert a large chunk of html into a pre-existing
I would suggest unifying the html into one string... like so. some paragraph";
htmlStr += " another paragaraph this way you can see where your html is breaking down and it adds a lot of readability to javascript created content. Also... if there is content in this TD that you'd like to keep, I would use the the jquery documentation is your best friend!. I am using this method:
$(\"td#content\").html(LOTS_OF_HTML_CODE_HERE);
htmlStr = "";
htmlStr += "
append()
jquery method.