Here am going to show you JQuery code to append html using div id
suppose i have html code like below i need append a text content to the html area when user entering any text
<input type="text" value="" id="inputarea"> <div id="html_area"> </div>
$(document).ready(function(){ $("#inputarea").blur(function(){ $("#html_areap").append("<b>User Is typing a text</b>"); }); });