prepend jquery no element wuth same class present code example Example: prepend element jquery $( ".inner" ).prepend( "<p>Test</p>" );