how to append data at the beggining of body code example Example: prepend element jquery $( ".inner" ).prepend( "<p>Test</p>" );