jquery append to parent node 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>');