jquery prepent code example
Example 1: prepend element jquery
$( ".inner" ).prepend( "Test
" );
Example 2: appendBefore
let insertedNode = parentNode.insertBefore(newNode, referenceNode)
$( ".inner" ).prepend( "Test
" );
let insertedNode = parentNode.insertBefore(newNode, referenceNode)