function left() { $('#start > div:nth-of-type(4) .red').prependTo( ".content" ); } jQuery(document).ready(function($) { // left(); });