I have 3 divs want to reverse the order on doucment ready
First Second
Just use
$('#block-2').insertBefore('#block-1'); $('#block-3').insertBefore('#block-2');
Example fiddle: http://jsfiddle.net/2DUXF/