jquery add element to div as first child code example Example: prepend element jquery $( ".inner" ).prepend( "<p>Test</p>" );