set text and append jquery code example Example: jquery append text to div $( "#divId" ).append( "<p>Test</p>" );