jquery append element to parent code example
Example: append before parent jquery
$('ElementBeforeYouWantToInsert').prepend('<div>the element you want to insert</div>');
$('ElementBeforeYouWantToInsert').prepend('<div>the element you want to insert</div>');