// Prepend exisitng Div using Class or ID jQuery(document).ready(function($) { $(".item").prependTo($(".target" )).css({"opacity": "0"}); }); // Prepend HTML Content jQuery(document).ready(function($) { $("<span>Prepend this text</span>").prependTo(".target"); });