jquery add string to div code example
Example 1: jquery append
$("p").append(" <b>Appended text</b>.");
Example 2: jquery append element to body
$( ".inner" ).append( "<p>Test</p>" );
$("p").append(" <b>Appended text</b>.");
$( ".inner" ).append( "<p>Test</p>" );