Ajax响应文本

I am trying to parse a ajax response text, I am getting a whole form from an ajax responsetext, but how to append this form to my existing page just under the button, this ajax call happens on this button click.

Tried adding this response text using appendchild, but did not work, can any one please help me out with this. is my approach right in this context, if so how can I get this form from the response text on to my page.

simplest way is to create a an empty placeholder and then place response text into it on ajax success

HTML

<div id="ajxresult"></div>

javascript

document.getElementById("ajxresult").innerHTML = ajaxresponse;