[jQuery] Move element to top of outside element, how?

[jQuery] Move element to top of outside element, how?


Let's say I have a structure like this:
<div id="container">
<div id="box1">box 1 content</div>
<div id="box2">box 2 content</div>
<div id="box3">box 3 content</div>
<div id="box4">box 4 content</div>
</div>
Now how do I move one of those divs, lets say box3 to the top of the divs?
The result should look like this:
<div id="container">
<div id="box3">box 3 content</div>
<div id="box1">box 1 content</div>
<div id="box2">box 2 content</div>
<div id="box4">box 4 content</div>
</div>
How can I do this? I'm new to jQuery, so maybe I've just missed something,
but currently I just can't figure that one out.
Fredi
--
View this message in context: http://www.nabble.com/Move-element-to-top-of-outside-element%2C-how--tf2657866.html#a7413815
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/