Grab everything, I have a basic big jQuery. What I'm trying to do is take the first div from the group div and make it the last div in the group, the HTML looks like this:
<div>
<div id=1></div>
<div id=2></div>
<div id=3></div>
<div id=4></div>
</div>
I use
$("div div:first").after( $("div div:last") );
However, it does not work.
any ideas?
dotty source
share