Create and add jQuery object to HTML
Create and add jquery object to HTMl body.
JavaScript
var htmlStr="<p>some text</p>"; //must be any tag html otherwise fall
var html=$(htmlStr); // a nice jQuery of the string
html.appendTo('body') // put it in the body of the page